Difference between revisions of "MC-Basic:TASKERRORNUMBER"

From SoftMC-Wiki
Jump to: navigation, search
Line 48: Line 48:
 
* [[MC-Basic:TASKERROR|TASKERROR]]
 
* [[MC-Basic:TASKERROR|TASKERROR]]
  
[[Category:Axystems:MC-Basic:Task Control|TASKERRORNUMBER]]
+
[[Category:MC-Basic:Task Control|TASKERRORNUMBER]]
 
[[Category:MC-Basic:Error Handling|TASKERROR]]
 
[[Category:MC-Basic:Error Handling|TASKERROR]]
 
}}
 
}}

Revision as of 09:17, 22 May 2014

Prints the number of the last error that occurred in the task

Syntax

?TaskErrorNumber ( <task name> )

Type

<task name>: String

Returned value : Long

Scope

Task or Terminal

Limitations

Read only

Examples

?TaskErrorNumber("task1.prg")

Or

Common Shared Str1 asString

Str1 = “Task1.Prg”

?TaskErrorNumber( Str1)

See Also