Difference between revisions of "MC-Basic:ERROR"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= ?Error<br> ?''<task>''.Error |AVAILABILITY= All versions |DESCRIPTION= Queries the last system error message. If the keyword is prefixed wi…') |
m (1 revision) |
(No difference)
|
Revision as of 16:09, 13 December 2010
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
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