Error functions give information about the latest error that occurred. This information is useful in an error handling routine established by ON ERROR.
Operator
Meaning
Example
Result
ERRL
Test for error line
ERRL(100)
0
ERRLN
Line number
ERRLN
10
ERRM$
Error Message
ERRM$
"ERROR 31 IN "...
ERRN
Error Number
ERRN
31
I/O functions complement the regular I/O statements by providing additional information about I/O operations, devices, and paths.