Difference between revisions of "MC-Basic:ERRORNUMBER"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
 
(8 intermediate revisions by 3 users not shown)
Line 16: Line 16:
  
 
|RANGE=
 
|RANGE=
+/- MaxDouble
+
± MaxDouble
  
 
|UNITS=
 
|UNITS=
Line 28: Line 28:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 36: Line 36:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:ERROR|ERROR]]
+
* [[MC-Basic:ERROR|ERROR]]
* [[Axystems:MC-Basic:ERRORHISTORY|ERRORHISTORY]]
+
* [[MC-Basic:ERRORHISTORY|ERRORHISTORY]]
* [[Axystems:MC-Basic:task.ERROR|task.ERROR]]
+
* [[MC-Basic:task.ERROR|task.ERROR]]
* [[Axystems:MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]]
+
* [[MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]]
 
 
  
 +
[[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

See Also