RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.Input Variable

Specifies a read-only Text file associated with the processes standard Input file.

Pascal
Input: Text;
C++
Text Input;

System

In Delphi, the Input variable is a read-only Text file associated with the process's standard Input file.

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

Output 

TextFile

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