|
Post by HeitorRossi on May 5, 2022 17:23:28 GMT
How can I make more actions after a few times looping?
I have a manual work that can be looped, than I need to save it after all the loop. So I need to add another rotine, but after the loop. Is it possible?
Thanks you all.
Heitor Rossi
|
|
|
Post by Steve on May 6, 2022 8:07:28 GMT
Hi HeitorRossi Use variables to control your looping within your macro. Have a look here www.turnssoft.com/conditions.html and within this forum for examples. Here is an example of a controlled integer counter loop (start) and a FOR counter loop (end):
* | ------------------ 1 | RUN ACTION | DEFINE INTEGER VARIABLE | counter::5 * | ------------------ * | START 2 | RUN ACTION | DEFINE INTEGER VARIABLE | counter::+1 < your routines go here > 4 | IF | INTEGER VARIABLE | counter | LESS THAN | 5 | GOTO MACRO LINE | START * | ------------------ 6 | RUN ACTION | DEFINE INTEGER VARIABLE | counter::5 * | ------------------ * | END 7 | FOR | I | = | 0 TO counter | NEXT < your next routines go here > 6 | FOR | NEXT
|
|