RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.Output Variable

Specifies a write-only Text file associated with the process's standard output file.

Pascal
Output: Text;
C++
Text Output;

In Delphi, the Output variable is a write-only Text file associated with the process's standard output file.

Note: On Windows, most processes don't have a standard output file, and writing to Output raises an error. Delphi programs have a standard output file if they are linked as console applications.
Note: On Linux, all processes have a standard output file. There are various ways to view the standard error output. One simple method is to run the program from a shell window.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!