Command SET CONSOLE Foundation
Turns off or reactivates screen display.
SET CONSOLE ON | off | <lToggle>
The command SET CONSOLE suppresses or reactivates output of characters on the screen. This suppresses output from all output commands and functions that do not allow screen coordinates to be specified. This includes commands like ? or LIST and functions like QOut() or QQOut(), which always begin output at the current cursor position. The command @...SAY, however, remains unaffected by SET CONSOLE. To suppress @...SAY output, the current output device must be set to the printer using SET DEVICE TO PRINTER.
When SET CONSOLE is set to ON, output is displayed on the screen. There can also be parallel output to the printer (command SET PRINTER) or to a file (command SET ALTERNATE).
// In the example, addresses from an address file are listed.
// Output occurs only at the printer and not on the screen.
PROCEDURE Main
USE Address NEW
SET PRINTER ON
SET CONSOLE OFF
DO WHILE .NOT. Eof()
? LName, FName
? Street
? City + ",", State, Zip
?
SKIP
ENDDO
SET PRINTER OFF
SET PRINTER TO // close print device
SET CONSOLE ON
USE
RETURN
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.