C5_OUTSTD

 OUTSTD()
 Write a list of values to the standard output device
------------------------------------------------------------------------------
 Syntax

     OUTSTD(<exp list>) --> NIL

 Arguments

     <exp list> is a list of values to display and can consist of any
     combination of data types including memo.

 Returns

     OUTSTD() always returns NIL.

 Description

     OUTSTD() is a simple output function similar to QOUT() except that it
     writes to the STDOUT device (instead of to the Clipper console output
     stream).  Programs with very simple output requirements (i.e., that
     perform no full-screen input or output) can use this function to avoid
     loading the terminal output subsystems.  The header file Simplio.ch
     redefines the ? and ?? commands to use the OUTSTD() function.

     Since OUTSTD() sends its output to the standard output device, the
     output can be redirected using the DOS redirection symbols (>, >, |).
     This lets you redirect output from a Clipper program to a file or
     pipe.  Refer to your PC/MS-DOS documentation for more information about
     this operating system facility.

 Examples

     .  This example uses OUTSTD() to display a list of expressions:

        OUTSTD(Name, PADR(RTRIM(City) + "," + ;
              State, 20), ZipCode)

     .  This example redirects the output of a Clipper program to a
        new file using the DOS redirection operator (>):

        C>MYPROG > FILE.TXT

 Files   Library is CLIPPER.LIB, header file is Simplio.ch.

See Also: OUTERR() QOUT()



3 responses to “C5_OUTSTD

  1. Pingback: HB_EOL | Viva Clipper !

  2. Pingback: C5 UI – Basics | Viva Clipper !

  3. Pingback: CL5 Printing | 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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.