EXCP

From CometWiki

Revision as of 04:27, 1 June 2009 by Badge (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EXCP

 
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. 
Personal tools