home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / TURBOPAS / TRUN.LBR / IBM2IOR.ERR next >
Text File  |  2000-06-30  |  2KB  |  39 lines

  1.  
  2.  
  3.    In version 2 of Turbo for MS-DOS/PC-DOS, IoResult numbers didn't conform 
  4. to the list of I/O error numbers shown in the I/O error messages appendix 
  5. (I in the 2.0 manual and G in the 3.0 manual).  Function IoResult was fixed 
  6. in MS-DOS/PC-DOS version 3.xx compilers.  
  7.  
  8.         IOresult #                    IO error #
  9.    (given in decimal as          (Given in hexadecimal
  10.     returned by function          as listed in appendix I,
  11.     IOresult)                     Turbo Pascal ref. manual)
  12.             0                             00
  13.             2                             01
  14.             5                             02
  15.             6 . . . . . . . . . . . . .   03
  16.             15                            04
  17.             9                             10
  18.             16 . . . . . . . . . . . . .  20
  19.             17                            21
  20.             18                            22
  21.             144, or 1 . . . . . . . . .   90
  22.             14                            91
  23.             7,10,12                       99
  24.             13, or 8 . . . . . . . . . .  F0
  25.             3                             F1
  26.             11                            F2
  27.             4 . . . . . . . . . . . . .   FF
  28.  
  29.  
  30.    Because of the above errors, If you are using Turbo v2.xx for PC-DOS 
  31. or MS-DOS, the FILE NOT FOUND error-trap routine at the end of program
  32. TRUN281.PAS must be changed.  In the distribution version, the statement
  33. was changed to "If Ioresult <> 0" instead of "If Ioresult = 1".  This 
  34. would work out just as well under MS-DOS/PC-DOS Turbo v2.xx if you used 
  35. the statement: "If Ioresult = 2".
  36.  
  37. -Mike-
  38.  
  39. h