Procedure Readln [Var F : Text], V1 [, V2, ... , Vn]) ;
Read reads one or more values from a file F, and stores the result in V1, V2, etc. After that it goes to the next line in the file (defined by the LineFeed (#10) character). If no file F is specified, then standard input is read.
The variables V1, V2 etc. must be of type Char, Integer, Real, String or PChar.
If no data is available, a run-time error is generated. This behavior can be controlled with the {$i} compiler switch.
Read, Blockread, Write, Blockwrite
For an example, see Read.