OUTERR()

Write a list of values to the standard error device

Syntax

OUTERR( <xExp,...> ) --> NIL

Arguments

<xExp,...> is a list of expressions to display. Expressions are any mixture of Harbour data types.

Returns

OUTERR() always returns NIL.

Description

OUTERR() write one or more values into the standard error device. Character and Memo values are printed as is, Dates are printed according to the SET DATE FORMAT, Numeric values are converted to strings, Logical values are printed as .T. or .F., NIL are printed as NIL, values of any other kind are printed as empty string. There is one space separating each two values. Note that Numeric value can take varying length when converted into string depending on its source (see STR() for detail).

There is an undocumented CA-Clipper command line switch //STDERR which can set the file handle to write output from OUTERR(). If not specified the default STDERR is used, //STDERR or //STDERR:0 set OUTERR() to output to the same file handle as OUTSTD(), //STDERR:n set output to file handle n. Like other undocumented features this switch is available only if source/rtl/console.c was compiled with the HB_C52_UNDOC flag.
Examples
      // write error log information
      OUTERR( DATE(), TIME(), "Core meltdown detected" )
Status

Ready

Compliance

OUTERR() works exactly as in CA-Clipper

Files

Library is rtl

See Also