@ERROR |
|
| Top Previous Next | |
Syntax:
@ERROR(<flags>)
Description:
This function can be called after an error trap has occurred (see OPTION ERRORTRAP) and returns information about the error according to the flags used.
Valid flags are:
E |
function returns the error code, from which you can determine the type of error |
N |
function returns the line number containing the error |
If more than one flag is specified then each value in the returned string is separated by a field separator character in a form that can be split up into separate variables using the PARSE command.
OK:
Unchanged.
Example:
INFO Error @ERROR(E) at line @ERROR(N)
See also: