This command (cmdlet) writes the string representation of each argument in a list to stdout. A single space is automatically placed between each argument. The set console and set alternate commands can redirect or suppress the output. The output terminates with a linefeed character.
The command has the following syntax:
? [x]
(Optional) List of arguments to output. If the list is empty, only a linefeed character prints.
Examples
Print "Hello World!":
? "Hello World!"
Print a list of numbers:
? 1,2,3
Print an empty line:
?
Output the numbers from 1 to 10. The ? command can only be used at the beginning of a line, to output text from within an expression the corresponding qout() function must be used:
for(i=1;i<11;i++) qout(i);
Copyright © 2013 CA. All rights reserved. |
|