Example of Operation

This is an example of how a typical memo pad feature might be added to a typical file maintenance program. Imagine a customer maintenance program which has a screen like this:

                                                               

  CUSTOMER MASTER FILE MAINTENANCE                             

                                                               

   1.  NAME         Lo-Tech Products    8.  TYPE         Z     

   2.  ADDRESS #1   999 Cybercrud Ave   9.  MTD SALES    $999.99

   3.  ADDRESS #2                      10.  YTD SALES    $999.99

   4.  CITY         Manganese Valley   11.  TAXABLE?     N     

   5.  STATE        California         12.  CATEGORY     1     

   6.  ZIP          99999              13.  TERMS        N     

   7.  REGION:      7                  14.  TURKEY?      Y     

                                                               

 

 

Comments

 

Run by Valley Guys, they buy raw materials from us      

for their PC-Shoulder Holsters and MOEPROMS (Maxed-Out  

Eraseable Programmable Read-Only Memory).  Contacts    

 

  Carlo di Lithium   x007   (Payables)                

  Maria Galleria     x199   (Purchasing)               

 

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 


The memo pad area can be treated almost just like a normal field. The main differences are:

• Instead of using INPUT and PRINT to enter and display the field, you will use an XCALL INMEMO... statement.

• When the customer record is deleted, you will use another XCALL INMEMO... statement to delete the memo pad.

• To print the memo pad, you will use a series of XCALL INMEMO... statements within a loop to retrieve the memo text one line at a time.

From the operator's standpoint, the memo pad works very much like VUE. You can use the arrow keys to move the cursor around anywhere within the defined area. You can also use the VUE control codes to do things like insert or delete (character or line), move cursor home, start of line or end of line, and next word or previous word. To finish editing, just press the ESC key (as if you were exiting from display mode in VUE).