Specify Custom Fields for Screen Display Boxes
$display_box boxcode title [initval]
This command specifies an override for the contents of one of the boxes on the COPIAFACTS screen display. There are eighteen boxes in the upper section of the display, numbered as shown below. You may customize any of the boxes.
The parameters on this command are used as follows:
|boxcode ||the designation of the box to be used, from 0 to 9 or A to H inclusive. The eighteen boxes are numbered as follows:|
0 | 2 | 4 | 6 | 8 | A | C | E | G
- - - - - - - - - - - - - - - - -
1 | 3 | 5 | 7 | 9 | B | D | F | H
|title ||the text to describe the content, enclosed in double quotes if it contains embedded blanks. In an odd-numbered box, any portion preceding a vertical bar symbol (|) will be placed in the top (column header) box. A colon and space will be appended to the string.|
|initval ||the initial value for the box, if a numeric value is required.|
To place values in the custom fields, you can assign values to system variables DISPLAYn (where n is 0 to 9, A to H). These variables are global and are not reset at the end of each call.
The override text is not shown initially when COPIAFACTS starts up, only when the CopiaFacts engine has been started.
The default values in each field are as follows:
Specify a counter box. After using this command you may assign values to variable DISPLAY5 (for example incrementing a counter for each $lookup_var command) which will display on the COPIAFACTS status screen.
$display_box 5 "Custom|Lookup_var" 0