| 
 | 
|  Forms |           | AT, DRAW and TEXT | 
After drawing the box, the cursor is positioned just inside the top left corner of the box.
The TEXT command can be used to place text any where on the screen.
The AT command positions the cursor.
The default screen position for display data on the screen is one line down and
in the same column as the previous data.
The AT clause can be used on any command that relates to
displaying information to position the
information according to the coordinates specified.
Positioning can be absolute or the positioning can be relative to
the current position.
Numbers such as AT 10,15 positions the information at
a specific point on the screen (e.g. row 10, column 15).
A "+" or a "-" such as (+3,+0) indicates relative movement
from the current position (e.g. 3 rows down, in the same column.
|           | 
AT [ r ] [, c ]AT positions the cursor on the screen.  This determines where
the next element is displayed.  The default position is one row down at the same
column.
AT specifies row (r) and column (c) for the position.  Row and
column positions can be specified in either absolute or relative terms.
Absolute positions are specified in the form "n"  where n is the absolute row or
column.  AT 1,1 positions the cursor to the upper left corner
of the window.
Relative positions can be specified in the form "+n" or "-n" to indicate row and column movement from the previous cursor position.
An asterisk ( * ) indicates the maximum row or column.
AT 5 , 1
AT , 12AT -1,1AT command positions the cursor independently of any
screen display command.  This may be useful in setting a default display
position in the middle of a list of FIELD commands.
AT can always be specified as a clause on an individual
command.
|           | 
DRAW ['c'] FOR [r][,c] FROM [r][,c] TO [r][,c] CENTER [HORIZONTAL | VERTICAL] END symbol FILL ['fill_character'] NOLINES START symbol
AT [r][,c]
VIDEO video_optionsDRAW draws lines (both vertical and horizontal) and boxes.
After drawing a horizontal line, the cursor is positioned  at
the row and column position of the first character of the line.  After drawing a
vertical line, the cursor is positioned one character to the left of the top
character of the line.  After drawing a box, the cursor is positioned at the top
left inner corner of the box.DRAW command to alter the character used to draw the line or
box.DRAW '*' FOR 2,28FOR r,cDRAW with no FOR specified is one row deep
and one column wide ,i.e. one character.DRAW FOR 2,28DRAW FOR 3DRAW FOR ,19FROM r,cFROM is not specified, the DRAW commences
at the current cursor position.  When drawing a box, FROM
specifies the upper left coordinate.  When drawing a line,
FROM specifies the left column or top row.  For example, to
draw a box that begins on line 12, column 2 and continues to line 20, column 30,
specify:DRAW FROM 12,2 TO 20,30TO r,c
TO specifies the bottom right coordinate.
When a line is drawn, TO specifies the right column or bottom
row.  Specify an asterisk to denote maximum row or maximum column as defined by
PAGESIZE.DRAW TO  * , *DRAW FROM 1 , 1 TO * , *DRAW FROM 12,2 TO 20,25CENTER [HORIZONTAL| VERTICAL]
HORIZONTAL causes the box to be centred only horizontally;
VERTICAL causes the box to be centred only vertically.  If
neither option is specified the box is centred in the middle of the screen.END | START symbol
TLCORNER Top Left Corner TRCORNER Top Right Corner BLCORNER Bottom Left Corner BRCORNER Bottom Right Corner TTEE Top TEE BTEE Bottom TEE LTEE Left TEE RTEE Right TEE INTERSECTION Intersection VLINE Vertical Bar HLINE Horizontal Bar
FILL 
DRAW without the FILL clause
does not affect data in the middle of the box.  FILL without a
fill character fills the box with blanks.  Specify VIDEO
INVERSE on the DRAW, to FILL with
INVERSE FILL characters.  The fill character can be any
character from the keyboard.NOLINES 
NOLINES is used with VIDEO INVERSE, the line
or box is drawn with inverse blanks.|           | 
TEXT 'text_string'
     CENTER
     LINESET
     UNDERLINE ['underline_character']
 AT [r][,c]
  VIDEO video_options
TEXT specifies a text string which is displayed.
Each TEXT command displays the text at the current
cursor position and increments the position by the standard single line.  The
text string to be displayed is the first and only required parameter.  This may
be followed by any of the specific or general clauses.
For example:
TEXT 'Welcome to the Administration System'  at 3,30 
TEXT 'Please
contact ext. 123 for help'     at +2 ,+5  
LINESET TEXT command without LINESET
displays any character that can be entered on the keyboard.
LINESET specifies that the symbols associated
with lines and boxes are used.  With
LINESET, the specified text string is a set of codes with the
following meanings.    CHARACTER   MEANING
    A      Top left corner
    B      Top right corner
    C      Bottom left corner
    D      Bottom right corner
    E      Top Tee
    F      Bottom Tee
    G      Left Tee
    H      Right Tee
    I      Intersection
    J      Vertical line, thin
    K      Vertical line, thick
    M      Horizontal line, thin
    N      Horizontal line, thick
TEXT 'AMMMMMMMMMMMMB' LINESET TEXT 'J J' LINESET TEXT 'CMMMMMMMMMMMMD' LINESET
UNDERLINE 
TEXT  'MAIN MENU'  -
      CENTER AT 2 VIDEO BOLD UNDERLINE '='
|           |