Purpose |
Return a
|
Syntax |
msg$ = ERROR$[(ErrNum)] |
Remarks |
ERROR$ returns the verbose text title of a PowerBASIC run-time error identified by ErrNum. ErrNum must be in the range 1 to 255 inclusive. Values outside of this range return "No error". If ErrNum is not specified, ERROR$ returns the description of the current value of ERR. |
See also |
#DEBUG DISPLAY, ERL, ERR, ERRCLEAR, ERROR, Error Overview, Error Trapping, ON ERROR |
Example |
a$ = ERROR$(5) ' Returns "Illegal function call" |