Difference between revisions of "MC-Basic:STEPOUT$"

From SoftMC-Wiki
Jump to: navigation, search
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:STEPOUT$}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 47: Line 48:
 
* [[MC-Basic:CONTINUETASK|CONTINUETASK]]
 
* [[MC-Basic:CONTINUETASK|CONTINUETASK]]
 
* [[MC-Basic:IDLETASK|IDLETASK]]
 
* [[MC-Basic:IDLETASK|IDLETASK]]
* [[Axystems:MC-Basic:STEPIN|STEPIN]]
+
* [[MC-Basic:STEPIN|STEPIN]]
* [[Axystems:MC-Basic:STEPOVER|STEPOVER]]
+
* [[MC-Basic:STEPOVER|STEPOVER]]
  
[[Category:Axystems:MC-Basic:Debug Tools|STEPOUT$]]
+
[[Category:MC-Basic:Debug Tools|STEPOUT$]]
 
}}
 
}}

Latest revision as of 07:01, 28 April 2017

Language: English  • 中文(简体)‎

This command steps out of subprograms and returns to the main program or the calling subroutine. The remaining code in the subprogram is not executed.

Syntax

StepOut$ <task name>

Availability

Since Version 3.6.20

Type

<task name> : String

Scope

Task orTerminal

Limitations

Task must be in one of the following states ready (7),   stopped (2), error (4), killed (10)

Examples

StepOut$ “Task1.prg”

Or

Common Shared Str1 asString

Str1 = “Task1.Prg”

StepOut$  Str1

See Also