DISPLAY

DISPLAY statement is used to display information on the screen. Different clauses that follow the DISPLAY statement determine where on the screen the information will be displayed.

Display value

An actual value enclosed in the double quotation marks, a variable which value is to be displayed or their combination separated by comas

TO clause

An optional clause that specifies the form fields to which the Display value will be displayed

AT clause

An optional clause that specifies the coordinates in the 4GL screen or window where the display value will be displayed

BY NAME clause

An optional clause that implicitly associates variables with the form fields in which their values will be displayed

The information will be displayed to the place defined by the optional display clauses. If no optional clause is present, the output will be performed to 4GL screen or to the Output console.

ATTRIBUTE clause

DISPLAY statement can include an ATTRIBUTE clause only if it also contains one of the other optional clauses (AT, TO or BY NAME clause). The ATTRIBUTE clause of the DISPLAY statement has the structure of the common ATTRIBUTE clause. At least one attribute must appear within the parentheses following the ATTRIBUTE clause.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.