Topic group Related topics
Displays records from the current table in the result pane of the Command window.
[FOR <condition 1>]
[WHILE <condition 2>]
[[FIELDS] <exp list>]
[TO FILE <filename>]
Both LIST and DISPLAY display records in the results pane of the Command window. There are two differences between the commands:
LIST displays continuously until complete, while DISPLAY pauses after each screenful of information.
The default scope of LIST is ALL, while the default scope of DISPLAY is NEXT 1, the current record only.
Because LIST does not pause between screens, it is more appropriate when directing output to a file or printer. For more information on the options of LIST, see DISPLAY.