qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Input/Output Checking Directive
  Compiler Directives Contents Index                        Back
 
  {$I<+│->}
 
  Description
 
    Switches between two settings that control the kind of
    error-checking code generated by the compiler for I/O calls.
    The default is {$I+}.
 
    {$I+}   Turns on checking of an I/O call. In this state, an
            I/O error causes an I/O run-time error.
 
    {$I-}   Turns off I/O checking. In this state, an I/O error
            doesn't cause an I/O run-time error. Instead, it sets the
            IOResult function to return a nonzero number.