The last error occurring in that task is returned. The query returns only the error number.
Short form
<task>.ErrorNum
Syntax
?<task>.ErrorNumber
Availability
All versions
Type
Long
Scope
Task or Terminal
Limitations
Read only
Examples
?MyTask.prg.errornum
See Also