StdErrPrint command

 

Usage:

StdErrPrint StringExpr [+ $CRLF]

 

Legacy Syntax:

STDERR StringExpr [;]

 

Pseudo-object Syntax:

CON.STDERR StringExpr [;]

 

Outputs a string expression to the standard error device.

 

Standard error can be redirected to a file or a device. If redirection is not in effect, output is sent to the current active console page.

 

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.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  STDERR StringExpr

#ELSE

  StdErrPrint StringExpr

#ENDIF

 

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

 

See Also: ConStdOut