Previous Topic: Program That Copies the Account NumberNext Topic: Use Global Variables


Program That Types the Account Number in Another Session

The following program uses the same variable to type the account number on the third column of the fifth row on the screen:

******* Program name: ACCOUNT2 *******
   SET CURSOR,5/3             set the cursor position 
   KEY &ACNTNUM               type the account number 
   UDELETE ACNTNUM            delete the variable