Looping Instructions

Navigation:  Macros > Macro Language > Instructions >

Looping Instructions

Previous pageReturn to chapter overviewNext page

Looping instructions allow you to execute a block of code repeatedly until a certain condition is met.


In the Q++ Macro Language, there are 2 types of loops :



The for loop allows you to loop over an integer counter variable which runs over a preset range of values.


The while loop allows you to loop while a Boolean expression remains true.


Each of these loops is more or less suitable, depending on the circumstances, as we will see in the following sections.

Topic 122800 updated on 01-Nov-2016.
Topic URL: https://www.qppstudio.net/webhelp/index.html?loopinginstructions.htm