MC-Basic:ERRORNUMBER
Queries the last system error. If the keyword is prefixed with a task name, the last error occurring in that task is returned. The query returns only the error number.
Syntax
?ErrorNumber
Availability
All versions
Type
Double
Range
+/- MaxDouble
Scope
Task or Terminal
Limitations
Read-Only
Examples
?ErrorNumber
?MyTask.prg.errornum