| [Overview][Constants][Types][Procedures and functions][Variables][Index] | 
Last OS (MS-DOS) error
Source position: dosh.inc line 76
| var DosError: Integer = ; | 
The DosError variable is used by the procedures in the Dos unit to report errors. It can have the following values :
| Value | Meaning | 
|---|---|
| 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. | 
Other values are possible, but are not documented.