Difference between revisions of "MC-Basic:TASKERRORNUMBER"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{MC-Basic |SHORT FORM= |SYNTAX= ?TaskErrorNumber ( ''<task name>'' ) |AVAILABILITY= |DESCRIPTION= Prints the number of the last error that occurred in the task |TYPE= ''...")
 
Line 43: 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]]
 
* [[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]]
* [[Axystems:MC-Basic:ERRORHISTORY|ERRORHISTORY]]
+
* [[MC-Basic:ERRORHISTORY|ERRORHISTORY]]
 
* [[Axystems:MC-Basic:ERRORHISTORYCLEAR|ERRORHISTORYCLEAR]]
 
* [[Axystems:MC-Basic:ERRORHISTORYCLEAR|ERRORHISTORYCLEAR]]
 
* [[Axystems:MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]]
 
* [[Axystems:MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]]

Revision as of 08:37, 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