error type


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];

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.


Operating Systems: All
Standard Pascal: No