Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : NUM-MESSAGES attribute
 

NUM-MESSAGES attribute

The number of error messages currently available through the specified system handle.
Data type: INTEGER
Access: Read-only
Applies to: COMPILER system handle, ERROR-STATUS system handle
For the COMPILER system handle, this value represents the number of compilation errors detected during the preceding ABL source code compilation.
For the ERROR-STATUS system handle, this value represents the number of messages returned for the ERROR condition raised in a statement run with the NO-ERROR option.