Previous: 4.67.2.43. Int function To the Table of Contents Next: 4.67.2.45. Length function
4.67.2.43. Int function Table of Contents 4.67.2.45. Length function

- 4.67.2.44. -
Table of Contents
4. Standard Units
4.67. System - Built-in routines
4.67.2. System Unit Procedures and Functions
4.67.2.44. IOResult function


4.67.2.44. 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: 4.67.2.43. Int function To the Table of Contents Next: 4.67.2.45. Length function
4.67.2.43. Int function Table of Contents 4.67.2.45. Length function

- 4.67.2.44. -