Previous Topic: ! Command--Invoke Command or Child Process (Cmdlet)Next Topic: ? Command--Write Output to stdout (Cmdlet)


?? Command--Write Output in a List to stdout (Cmdlet)

Writes the string representation of each argument in a list to stdout. A single space is automatically placed between each displayed argument. Subsequent output calls using ?, ??, qout() or qqout() place their output immediately after the original output, so ?? or qqout() are typically used to construct output lines using several invocations.

The command has the following syntax:

?? [x]
x

(Optional) List of arguments to output.

Examples

Print three column headers with separating spaces:

??  "Col1"
??  "  "
??  "Col2"
??  "  "
?   "Col3"

The third label is printed using the ? command to move the cursor to the beginning of the next line.

See also:

OSRedirect Class

!! Command--Invoke Command or Child Process and Auto-capture Output (Cmdlet)