GET-MESSAGE-TYPE( ) method

Returns the message type associated with the nth message that occurred during the preceding compilation.

Return type: INTEGER

Applies to: COMPILER system handle

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: