LINE STATEMENT IN FORM LAYOUTS

LINE draws a horizontal line or a vertical line in the form.  The statement can be repeated for drawing more lines in the form.

SYNTAX

/[LINE start_row start_column end_row end_column rendition]...

start_row

is an integer constant that specifies the row position where the line begins in the form.

start_column

is an integer constant that specifies the column position where the line begins in the form.

end_row

is an integer constant that specifies the row position where the line ends in the form.

end_column

is an integer constant that specifies the column position where the line ends in the form.

rendition

specifies the video attributes for the line.  More than one video attribute may be specified by separating the attributes with plus signs.

    

The valid video attributes are:

  • @NORMAL specifies normal video attribute.  [default setting]
  • @BLINK specifies blinking video attribute.
  • @BOLD specifies bold face video attribute.
  • @REVERSE specifies reverse video attribute.
  • @UNDERLINE specifies underlining video attribute.

EXAMPLE

/LINE 1 40 20 40 @NORMAL

This example draws a vertical line (in column 40 ) which is 20 rows long (from row 1 to row 20) in the form.  The video attribute for the line is normal.

Back to Message Statement    Next page Prompt Statement