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()
Pingback: HB_EOL | Viva Clipper !
Pingback: C5 UI – Basics | Viva Clipper !
Pingback: CL5 Printing | Viva Clipper !