Difference between revisions of "MC-Basic:ERRORNUMBER"
(4 intermediate revisions by the same user not shown) | |||
Line 37: | Line 37: | ||
|SEE ALSO= | |SEE ALSO= | ||
* [[MC-Basic:ERROR|ERROR]] | * [[MC-Basic:ERROR|ERROR]] | ||
− | * [[ | + | * [[MC-Basic:ERRORHISTORY|ERRORHISTORY]] |
− | * [[ | + | * [[MC-Basic:task.ERROR|task.ERROR]] |
− | * [[ | + | * [[MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]] |
− | [[Category | + | [[Category:MC-Basic:Error Handling|ERRORNUMBER]] |
}} | }} |
Latest revision as of 09:14, 22 May 2014
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