Difference between revisions of "MC-Basic:TASKERROR"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:TASKERROR to MC-Basic:TASKERROR: Global renaming of Axystems: namespace into (Main):)
Line 47: Line 47:
 
* [[MC-Basic:ERRORHISTORY|ERRORHISTORY]]
 
* [[MC-Basic:ERRORHISTORY|ERRORHISTORY]]
 
* [[MC-Basic:ERRORHISTORYCLEAR|ERRORHISTORYCLEAR]]
 
* [[MC-Basic:ERRORHISTORYCLEAR|ERRORHISTORYCLEAR]]
* [[Axystems:MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]]
+
* [[MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]]
  
 
[[Category:Axystems:MC-Basic:Task Control|TASKERROR]]
 
[[Category:Axystems:MC-Basic:Task Control|TASKERROR]]
 
[[Category:Axystems:MC-Basic:Error Handling|TASKERROR]]
 
[[Category:Axystems:MC-Basic:Error Handling|TASKERROR]]
 
}}
 
}}

Revision as of 08:55, 22 May 2014

Prints textual description of the last error, occurred in the task

Syntax

?TaskError ( <task name> )

Availability

Since Version 3.6.20

Type

<task name>: String

Returned value : String

Scope

Task or Terminal

Limitations

Read only

Examples

?TaskError("task1.prg")

Or

Common Shared Str1 asString

Str1 = “Task1.Prg”

?TaskError( Str1)

See Also