InOutRes
Result of last I/O operation.
Declaration
Source position: systemh.inc line 846
var
InOutRes : Word;
Description
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.
See also
| Name | Description |
|---|---|
| blockread | Read data from an untyped file into memory |
| blockwrite | Write data from memory to an untyped file |
| close | Close a file |
| EOF | Check for end of file |
| read | Read from a text file into variable |
| reset | Open file for reading |
| rewrite | Open file for writing |
| Word | An unsigned 16-bits integer |
| write | Write variable to a text file or standard output |