1,042
edits
Line 36: | Line 36: | ||
In order to loop as long as needed, we will use a "while" loop that iterates as long as "EnableMacro" is set on "True". | In order to loop as long as needed, we will use a "while" loop that iterates as long as "EnableMacro" is set on "True". | ||
The while loop is an Algorithmic command, and will be added the same way as the Affectation command. Click on "End of Macro", click on the [[Image:AlgoCommandIcon.png]] icon and select "while loop. Then set the loop as follows : | The while loop is an Algorithmic command, and will be added the same way as the Affectation command. Click on "End of Macro", click on the [[Image:AlgoCommandIcon.png]] icon and select "while loop". Then set the loop as follows : | ||
[[Image:WhileLoop.png|600px|none]] | [[Image:WhileLoop.png|600px|none]] | ||