RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.ErrOutput Variable

ErrOutput specifies a write-only Text file associated with the process's error output file.

Pascal
ErrOutput: Text;
C++
Text ErrOutput;

System

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

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

Input 

Output 

TextFile

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!