This command (cmdlet) is used to suppress any output to stdout which is the console in interactive mode generated by ?, ??, qout(), or qqout(). Typically used with the set alternate command when writing to a file.
The command has the following syntax:
set console {on|off}
Writes output to stdout.
Suppresses console output.
Example
Suppress console output and write numbers 1 through 10 to output.txt:
set console off
set alternate to output.txt
for(i=1; i<11; i++)
{
? i
}
set alternate to
set console on
|
Copyright © 2013 CA.
All rights reserved.
|
|