Returns the message type associated with the nth
message that occurred during the preceding compilation.
Return
type: INTEGER
Applies to:
COMPILER system handle
Syntax
-
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