RAD Studio VCL Reference
System.Input Variable

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

Input: Text;
Text Input;

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.

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