OutErr()

OUTERR()

Write a list of values to the standard error device

Syntax

      OUTERR( <xExp,...> )

Arguments

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

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-Cl*pper 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 src/rtl/console.c was compiled with the HB_CLP_UNDOC flag.

Examples

      // write error log information
      OUTERR( DATE(), TIME(), "Core meltdown detected" )

Compliance

Clipper

Files

Library is rtl

Seealso

?, ??, DEVOUT(), DEVOUTPICT(), DISPOUT(), DISPOUTAT(), OUTSTD(), QOUT(), QQOUT(), STR()

Advertisements

3 responses to “OutErr()

  1. Pingback: Harbour All Functions – O | Viva Clipper !

  2. Pingback: Harbour Terminal Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s