Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

OUTSTD()

Write a list of values to the standard output device
---------------------------------------------------------------------------------

 Syntax

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

 Arguments

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

 Returns

        OUTSTD()   always returns NIL.    

 Description

      OUTSTD() write one or more values into the standard output 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).

      OUTSTD() is similar to QQOUT() with the different that QQOUT() send
      its output to the Harbour console stream, which can or can not be
      redirected according with the screen driver, and OUTSTD() send its
      output to the standard output device (STDOUT) and can be redirected.

 Examples

      OUTSTD( "Hello" )            // Result: Hello

      OUTSTD( 1, .T., NIL, "A" )
      OUTSTD( "B" )                // Result:          1 .T. NIL AB

Status

      Ready

 Compliance

      OUTSTD() works exactly as in CA-Clipper

 Files

      Library is rtl



See Also: DEVOUT() DEVOUTPICT() DISPOUT() DISPOUTAT() OUTERR() QOUT() QQOUT() STR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson