| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Result of last I/O operation.
Source position: systemh.inc line 760
var InOutRes: Word;  | 
InOutRes contains the result of the last I/O operation using one of the file I/O routines. When I/O checks are enabled, this variable is checked and if it is nonzero, a runtime error is raised.
Although it is a variable for historical reasons, it is not meant to be written to by user code, outside of routines that implement some form of file I/O.
  | 
Open file for reading  | 
|
  | 
Open file for writing  | 
|
  | 
Close a file  | 
|
  | 
Read from a text file into variable  | 
|
  | 
Write variable to a text file or standard output  | 
|
  | 
Read data from an untyped file into memory  | 
|
  | 
Write data from memory to an untyped file  | 
|
  | 
Check for end of file  |