MESSAGE( ) Function

Example   See Also

Returns either the current error message as a character string or the contents of the program line that caused the error.

Syntax

MESSAGE([1])

Returns

Character

Arguments

1

If MESSAGE( ) is used in an ON ERROR routine, include this argument to return the program source code that caused the error. If the program source code isn't available, MESSAGE(1) returns one of the following:

Remarks

Unlike ERROR( ), MESSAGE( ) isn't reset by RETURN or RETRY.