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

From SoftMC-Wiki
Jump to: navigation, search
Line 43: Line 43:
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[MC-Basic:ADDBREAKPOINT|ADDBREAKPOINT]]
 
* [[MC-Basic:ADDBREAKPOINT|ADDBREAKPOINT]]
* [[Axystems:MC-Basic:BREAKPOINTLIST|BREAKPOINTLIST]]
+
* [[MC-Basic:BREAKPOINTLIST|BREAKPOINTLIST]]
 
* [[Axystems:MC-Basic:CLEARBREAKPOINT|CLEARBREAKPOINT]]
 
* [[Axystems:MC-Basic:CLEARBREAKPOINT|CLEARBREAKPOINT]]
 
* [[Axystems:MC-Basic:CONTINUETASK|CONTINUETASK]]
 
* [[Axystems:MC-Basic:CONTINUETASK|CONTINUETASK]]

Revision as of 08:35, 22 May 2014

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