Difference between revisions of "MC-Basic:TASKERROR"
m (Text replace - "Versions 3.6.20 and higher" to "Since Version 3.6.20") |
|||
Line 45: | 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]] | * [[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: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 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
- [[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]]
- ERRORHISTORY
- ERRORHISTORYCLEAR
- task.ERRORNUMBER