home *** CD-ROM | disk | FTP | other *** search
- .Speaking of undocumented error messages, you may have noticed that the values
- returned by IOresult do not coincide with the IO error messages you get when
- you leave the I compiler directive on. For cases in which checking for a non-
- -zero IOresult is not good enough, the following list of correspondences
- between IOresult and IO error numbers is offered.
-
- IOresult # IO error #
- (given in decimal as (Given in hexadecimal
- returned by function as listed in appendix I,
- IOresult) Turbo Pascal ref. manual)
- 0 00
- 2 01
- 5 02
- 6 . . . . . . . . . . . . . 03
- 15 04
- 9 10
- 16 . . . . . . . . . . . . . 20
- 17 21
- 18 22
- 144, or 1 . . . . . . . . . 90
- 14 91
- 7,10,12 99
- 13, or 8 . . . . . . . . . . F0
- 3 F1
- 11 F2
- 4 . . . . . . . . . . . . . FF