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.
DosError
◄Dos Unit► ◄Example► ◄Contents► ◄Index► ◄Back►
VAR
DosError : Integer; { DOS error code }
Unit: Dos
Context: Exec, FindFirst, FindNext, GetFAttr, GetFTime,
SetFAttr, SetFTime
Description
Several procedures and functions defined in the Dos unit report
error codes in the DosError variable.
The error values indicate DOS error conditions:
Value Condition
═════ ═══════════════════
0 No error
2 File not found
3 Path not found
5 Access denied
6 Invalid handle
8 Not enough memory
10 Invalid environment
11 Invalid format
18 No more files