contents.gifindex.gifprev1.gifnext1.gif

DISPLAY Statement

The DISPLAY statement provides for low-volume output from the program. The formats of the DISPLAY statement include:

gt490000.gif Format 1: DISPLAY src-item

This format displays an individual field.

gt490000.gif Format 2: DISPLAY screen-name

This format displays a Screen Section item defining one or more fields.

gt490000.gif Format 3: DISPLAY WINDOW

This format creates and displays a subwindow.

gt490000.gif Format 4: DISPLAY SCREEN SIZE

This format shifts the display between 80 and 132 column mode.

gt490000.gif Format 5: DISPLAY LINE

This format draws a horizontal or vertical line on the screen.

gt490000.gif Format 6: DISPLAY BOX

This format draws a box on the screen.

gt490000.gif Format 7: DISPLAY UPON WINDOW TITLE

This format modifies a subwindow's title.

gt490000.gif Format 8: DISPLAY UPON COMMAND-LINE

This format changes the contents of the command line buffer.

gt490000.gif Format 9: DISPLAY src-item (ANSI style)

This format sends data directly to the user's screen without using the ACUCOBOL-GT window manager.

gt490000.gif Format 10: DISPLAY UPON GLOBAL WINDOW TITLE

This format changes the title of the application window in a graphical user interface, or the title of a floating window.

gt490000.gif Format 11: DISPLAY FLOATING WINDOW

This format creates and displays a floating window.

gt490000.gif Format 12: DISPLAY INITIAL WINDOW

This format creates and displays the main application window and independent windows.

gt490000.gif Format 13: DISPLAY TOOL-BAR

This format adds a tool-bar to the current window.

gt490000.gif Format 14, DISPLAY Control-Type-Name

This format creates controls.

gt490000.gif Format 15, DISPLAY MESSAGE BOX

This format creates a simple message box.

gt490000.gif Format 16, DISPLAY external-form-item

This format merges data into an HTML template file and sends the result to standard output.

Note: Different formats of the DISPLAY statement may be mixed together in one DISPLAY statement, as long as no ambiguity results. The effect is the same as specifying each DISPLAY statement separately.