Previous Next

GET-MESSAGE-TYPE( ) method
Returns the message type associated with the nth message that occurred during the preceding compilation.
Return type:
Applies to:
 
Syntax 
GET-MESSAGE-TYPE ( n )
n
An integer expression, from 1 to the value of the NUM-MESSAGES attribute, that specifies the numeric occurrence of a compilation message. If the nth occurrence of a compilation message did not occur, the compiler issues a warning message at runtime.
The GET-MESSAGE-TYPE method returns one of the following values:
*
1 — Error message
*
2 — Warning message
*
3 — Preprocessor directive

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.