Difference between revisions of "MC-Basic:ERRORNUMBER"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:ERRORNUMBER to MC-Basic:ERRORNUMBER: Global renaming of Axystems: namespace into (Main):)
Line 38: Line 38:
 
* [[MC-Basic:ERROR|ERROR]]
 
* [[MC-Basic:ERROR|ERROR]]
 
* [[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]]
 
* [[Axystems:MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]]
  
 
[[Category:Axystems:MC-Basic:Error Handling|ERRORNUMBER]]
 
[[Category:Axystems:MC-Basic:Error Handling|ERRORNUMBER]]
 
}}
 
}}

Revision as of 08:55, 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