Previous: Int function To the Table of Content Next: Length function

- 4.62.2.44 -
Standard Units
System Unit
System Unit Procedures and Functions

IOResult function

Targets: MS-DOS, OS/2, Win32


System Unit

Returns the status of the last I/O operation performed. Return zero (0) if successful.

Declaration:
  function IOResult: Integer;
Remarks:
I/O-checking must be off {$I-} to trap I/O errors using IOResult. If an I/O error occurs and I/O-checking is off, all subsequent I/O operations are ignored until a call is made to IOResult. A call to IOResult clears the internal error flag. A call to IOResult clears its internal error flag. I/O-checking must be off {$I-}.

See also:
{$I} - I/O Checking Switch


Previous: Int function To the Table of Content Next: Length function
Int function Table of Content Length function

- 4.62.2.44 -