StdOutPrint command



StdOutPrint StringExpr [+ $CRLF]


Legacy Syntax:

STDOUT StringExpr [;]


Pseudo-object Syntax:

CON.STDOUT StringExpr [;]


Outputs a string expression to the standard output device.


Standard output can be redirected to a file or a device. If redirection is not in effect, output is sent to the current active console page. If non-redirectable output is required, use ConPrint instead.


Any control codes such as Carriage Return, Line Feed and Backspace embedded in StringExpr will be interpreted appropriately if standard output is not redirected. That is, CR ($CR) causes the cursor (caret) to move back to the beginning of the current line; LF ($LF) causes the caret to the next line; and Backspace ($BS) causes the caret to move back one character position.




#IF %DEF(%PB_CC32)

  STDOUT StringExpr


  StdOutPrint StringExpr



CON.STDOUT or CONSOLE.STDOUT may be substituted for STDOUT in programs written for PB/CC 6.


See Also: StdInputLine, ConPrint, StdErrPrint, ConStdOut