error type

Description

error is the type identifier for a built-in record type which describes a trappable run-time error.

The "error" type is defined as follows:

error = record
           number : integer;
           name : string[16];
           description : string[255];
        end;

where number is a numeric error code and uniquely identifies the error, name is an alphnumeric error code (not all errors have a name), description" is text describing the error.

When a trappable error occurs it is placed in an error record, and the record is appended to the built-in list variable errors.

Portability

Operating Systems: All
Standard Pascal: No