Repeat steps END - < for_end > ... [Pro]
Repeat steps END |
||||||||||||||||||||||||||||||||
This command ends the repeat section. See also "for" command. |
||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
Example (Macro Steps):
|
||||||||||||||||||||||||||||||||
|
Example (Plain Text):
<#> This macro shows how to use "for" loop.
<#> There are two embedded "for" loops.
<#>
<cmds>
<for>("vX=1","vX < 5","1")
<for>("vY=1","vY < 5","1")
<msg>(-100,-100,"Counters [x,y] = [%vX%,%vY%]
Press 'F10' to exit this macro.","For Counters",0,0,0)
<me_error_nodisplay> <waitfor>("KEY","PRESS","<F10>",1,0)<me_error_clear><me_error_display>
<if_key>("<F10>","DOWN")
<exitmacro>
<endif>
<for_end>
<for_end>