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 >
Wrap
Text File
|
2000-06-30
|
2KB
|
39 lines
In version 2 of Turbo for MS-DOS/PC-DOS, IoResult numbers didn't conform
to the list of I/O error numbers shown in the I/O error messages appendix
(I in the 2.0 manual and G in the 3.0 manual). Function IoResult was fixed
in MS-DOS/PC-DOS version 3.xx compilers.
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
Because of the above errors, If you are using Turbo v2.xx for PC-DOS
or MS-DOS, the FILE NOT FOUND error-trap routine at the end of program
TRUN281.PAS must be changed. In the distribution version, the statement
was changed to "If Ioresult <> 0" instead of "If Ioresult = 1". This
would work out just as well under MS-DOS/PC-DOS Turbo v2.xx if you used
the statement: "If Ioresult = 2".
-Mike-
h