Difference between revisions of "MC-Basic:TASKERRORNUMBER"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:TASKERRORNUMBER to MC-Basic:TASKERRORNUMBER: Global renaming of Axystems: namespace into (Main):)
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:TASKERRORNUMBER}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 42: Line 43:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER|COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER]]
+
* [[MC-Basic:COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER|COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER]]
 
* [[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]]
 
* [[MC-Basic:TASKERROR|TASKERROR]]
 
* [[MC-Basic:TASKERROR|TASKERROR]]
  
[[Category:Axystems:MC-Basic:Task Control|TASKERRORNUMBER]]
+
[[Category:MC-Basic:Task Control|TASKERRORNUMBER]]
[[Category:Axystems:MC-Basic:Error Handling|TASKERROR]]
+
[[Category:MC-Basic:Error Handling|TASKERROR]]
 
}}
 
}}

Latest revision as of 08:35, 2 May 2017

Language: English  • 中文(简体)‎

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