Navigation: ABC Library Reference > ErrorClass > ErrorClass Methods >====== SetMessageText (set the current error message text) ====== | |
SetMessageText ( message )
SetMessageText | Sets the message text that replaces any %Message symbols within the active error message text. |
message | A STRING constant, variable, EQUATE, or expression that sets the message text to use in the current error message text. |
SetMessageText sets the value of the ErrorStatusClass MessageText private property.
The message value replaces any %Message symbols within the current error message text. The ThrowMessage method sets the value of the MessageText property. The MessageText value then replaces any %Message symbols within the error message text.
See Also: GetMessageText , MessageText