Difference between revisions of "MC-Basic:TASKERROR"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= ?TaskError ( ''<task name>'' ) |AVAILABILITY= Versions 3.6.20 and higher |DESCRIPTION= Prints textual description of the last error, occurred…')
 
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:TASKERROR}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 7: Line 8:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Versions 3.6.20 and higher
+
Since Version 3.6.20
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Line 30: Line 31:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 44: Line 45:
  
 
|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>]]
* [[Axystems:MC-Basic:ERRORHISTORY|ERRORHISTORY]]
+
* [[MC-Basic:ERRORHISTORY|ERRORHISTORY]]
* [[Axystems:MC-Basic:ERRORHISTORYCLEAR|ERRORHISTORYCLEAR]]
+
* [[MC-Basic:ERRORHISTORYCLEAR|ERRORHISTORYCLEAR]]
* [[Axystems:MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]]
+
* [[MC-Basic:task.ERRORNUMBER|task.ERRORNUMBER]]
 
 
  
 +
[[Category:MC-Basic:Task Control|TASKERROR]]
 +
[[Category:MC-Basic:Error Handling|TASKERROR]]
 
}}
 
}}

Latest revision as of 08:30, 2 May 2017

Language: English  • 中文(简体)‎

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