Jump TO - < goto >() ... [Pro]
Jump TO |
||||||||||||||||||||||||
Jump to a step defined by Jump TARGET ("label") command in the macro and continue macro execution from this step. |
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Example (Macro Steps):
|
||||||||||||||||||||||||
|
Example (Plain Text):
<#> This macro shows how to jump to defined step in the macro
<#>
<cmds>
<varset>("vNumOfLoops=","Insert number of loops (less than 25)")
<if_num>("vNumOfLoops>=25")
<msg>(100,100,"Too many loops, jumping to the end.","Message",1)
<goto>("END")
<endif>
<begloop>(vNumOfLoops)
<msg>(-100,-100,"_vLoopCounter","Loop",0)
<wx>(200)
<endloop>
<label>("END")