Language Structure

IB Statements

File System

Comet 32 Runtime



System variable: EXCP
Length/precision: 2.0
Description: The system variable named EXCP contains the number of the most recent Comet system exception. EXCP is a two-byte numeric variable that may be interrogated by an Internet Basic program to ascertain specific exceptions that may occur during program execution.

For example, if one user has a record extracted from a data file (a condition that locks the record), and another user attempts to read the same record, the second user will encounter an exception. For the second user, the value of the system variable EXCP will be 33, indicating that an attempt has been made to read a record that is extracted by another user.

See Comet Exception Messages.

Also see Exception Handling for more information.