Sign in Join
FPDoc Onlineexperiment

DosError variable

In unit Dos

Last OS (MS-DOS) error.

Declaration

pascal
DosError: Integer

Description

The DosError variable is used by the procedures in the Dos unit to report errors. It can have the following values :

Dos error codes
ValueMeaning
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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.