Difference between revisions of "MC-Basic:ERROR"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
m (Text replace - "''<task>''" to "<''task''>")
Line 6: Line 6:
 
?Error<br>
 
?Error<br>
  
?''<task>''.Error
+
?<''task''>.Error
  
 
|AVAILABILITY=
 
|AVAILABILITY=

Revision as of 12:48, 20 March 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-Info.svgNOTE
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