Difference between revisions of "MC-Basic:STEPIN$"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= StepIn$ ''<task name>'' |AVAILABILITY= Versions 3.6.20 and higher |DESCRIPTION= This command executes the program step by step. If a CALL ins…') |
m (1 revision) |
(No difference)
| |
Revision as of 16:10, 13 December 2010
This command executes the program step by step. If a CALL instruction is encountered, single stepping continues within the subprogram. If a parent task is in step mode, all events are also in step mode, which means that all events associated with the task are not running, but event scanning continues to run.
If an error occurs while single stepping, the STEPIN$ (STEPOUT$, STEPOVER$) commands retry the line which caused the error. The error must be corrected before the task continues.
Syntax
StepIn$ <task name>
Availability
Versions 3.6.20 and higher
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
StepIn$ “Task1.prg”
Or
Common Shared Str1 asString
Str1 = “Task1.Prg”
StepIn$ Str1