Comet 32 Runtime
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.
Also see Exception Handling for more information.