Difference between revisions of "MC-Basic:ERRORNUMBER"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "+/- " to "± ")
m (Text replace - "Read-Only" to "Read only")
Line 28: Line 28:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=

Revision as of 13:23, 18 March 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