Difference between revisions of "MC-Basic:ERROR"
m (Miborich moved page Axystems:MC-Basic:ERROR to MC-Basic:ERROR: Global renaming of Axystems: namespace into (Main):) |
|||
Line 41: | Line 41: | ||
|SEE ALSO= | |SEE ALSO= | ||
* [[Axystems:MC-Basic:COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER|COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER]] | * [[Axystems:MC-Basic:COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER|COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER]] | ||
− | * [[ | + | * [[MC-Basic:ERRORHISTORY|ERRORHISTORY]] |
* [[Axystems:MC-Basic:ERRORHISTORYCLEAR|ERRORHISTORYCLEAR]] | * [[Axystems:MC-Basic:ERRORHISTORYCLEAR|ERRORHISTORYCLEAR]] | ||
* [[Axystems:MC-Basic:ERRORNUMBER|ERRORNUMBER]] | * [[Axystems:MC-Basic:ERRORNUMBER|ERRORNUMBER]] |
Revision as of 08:37, 22 May 2014
Queries the last system error message. If the keyword is prefixed with a task name, the error message corresponding to the last error in that task is returned
NOTE | |
This command returns an error message that includes the error number. The ?ERRORNUMBER query returns only the number of the error. |
Syntax
?Error
?<task>.Error
Availability
All versions
Scope
Task or Terminal
Limitations
Read only
Examples
?Error
?MyTask.prg.error
See Also
- [[Axystems:MC-Basic:COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER|COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER]]
- ERRORHISTORY
- ERRORHISTORYCLEAR
- ERRORNUMBER