PARADYME V4.0 - Manual |
System Variables |
During the execution of a PARADYME routine, a number of variables are used to handle the screen display. These are detailed below.
This variable holds the compiled screen layout. Printing this variable results in the screen being cleared down and the screen layout being printed.
This is the FOR ... NEXT control variable for setting up SCREEN.LAYOUT$.
Within the FOR ... NEXT statement that sets up SCREEN.LAYOUT$, this is used to hold the column number from which the next line of the screen display is to start printing.
Within the print routines, this variable is assigned the value of the output mask string, such as "L#30". The string is actually created from the justification specified for the field and the value of the appropriate FLENGTH$ array item. This is done so that when used with the PRINT statement, the latest length of the field is picked up thereby making it unnecessary to regenerate the program if the field length changes.
This is used as the control variable in the FOR ... NEXT statement that clears down the display variables.
This is used as the control variable in the FOR ... NEXT statement for the printing of fields within a page of a window. CINDEX$ acts as a line count, with VMC.DISPLAY.4n0$ holding the start line of display for that particular window, 'n' taking the appropriate value for the relevant window.
Within the FOR ... NEXT statement that prints out the fields for a page of a window, INDEX$ holds the line offset value for each line to which the base position for that value is added giving the index to CPOS$ which holds the cursor position at which the value is printed.
Within the FOR ... NEXT statement that prints out the fields for a page of a window, VMC.DISPLAY$ holds the index of the values within a set of multi-valued attributes, that will be displayed on a given line of the display.
Where the user wishes to printout the line number within a window then this variable should be printed, defined as a 'V' type variable in the prompt definition screen.
This variable holds the index of the first set of values within a set of multi-valued attributes. This will have a value of 1 when on the first page of the window, incrementing by the WINDOW.LENGTH$ as the user pages through the window. There is a separate variable for each window, hence the 'n'. 'N' takes the value 0 for the first display routine i.e. Routine 400, 1 for the next i.e. Routine 410, etc.
Use the BACK BUTTON to return to the previous page