ERRMSG$
(Function)

Sets an error message.

ERRMSG$ (<Arithmetic expression>)

This statement sets the error message corresponding to the error number designated with <Numeric expression>.

DIM ls1 As String
|
|
ls1 = ERRMSG$(&H600C)
|
'Assigns the error message with an error number
'of &H600C to ls1.
|