Examples

The following creates a simple anonymous label. The label is anonymous because the statement doesn't store the label's handle and there is no way to refer to it later in the program.

DISPLAY LABEL "Customer No:", LINE 2, COLUMN 5.

The equivalent in the Screen Section would be:

03 LABEL "Customer No:", LINE 2, COLUMN 5.

The following creates a three-line label:

DISPLAY LABEL,
   TITLE MY-LARGE-TEXT
   SIZE 15, LINES 3.

These Screen Section entries produce a set of labels that are all right-aligned:

03  LABEL "Date Entered:", SIZE 20, RIGHT.
03  LABEL "Date Modified:", LINE + 1,
       SIZE 20, RIGHT.
03  LABEL "Date Closed:", LINE + 1,
       SIZE 20, RIGHT.