ULINE

Short Reference

Syntax

ULINE {[AT] [/][pos][(len)]} [NO-GAP].

Effect:

Output of horizontal lines in lists.

This statement mainly has the same effect as the following WRITE statement:

WRITE line {[AT] [/][pos][(len)]} [NO-GAP].

In this case, line is a data object with type c and length 1023, which is completely filled with "-" characters. In accordance with the predefined formatting rule for the character "-", these are joined together to form a continuous line, and are replaced by the appropriate line element. The same applies for directly consecutive characters "-" and "|". In contrast to the WRITE statement, for ULINE, the characters are also replaced with the line element for an output length of 1.

The position and length of the line are determined by the rules for the WRITE statement. In the simplest case, ULINE produces the following outcomes:

Note:

If the statement FORMAT FRAMES OFF is used beforehand, the output of ULINE is not displayed as a continuous line, as this statement prevents replacement of the "-" characters with line elements.

Example:

Output of a horizontal line along the whole line after the first WRITE output, and two horizontal lines as a part of a frame.

WRITE 'A text in a frame'.
ULINE.
SKIP.

ULINE AT 10(10).
WRITE: /10 '|', 11(8) 'Text' CENTERED, 19 '|'.
ULINE AT /10(10).