Such a macro is created through menu Macros - New macro - Loop with animation
This macro purpose is to recalculate and display the figure for all values of a variable, from mini to maxi value, with step increment.
This kind of macro is very useful to simulation random experiences.
You may specify a macro to be executed before all the loops to run. For example, this macro will initialize counters.
You may also define a macro to be executed at the end of each loop. For example, this macro will update counters.
When a loop with animation macro is executed :
The variable is given it's mini value.
The macro to be executed before the loops is executed.
The figure is recalculated and updated.
The macro to be executed at the end of each loop is executed.
The step of the variable is added to the current value.
And so on while current value of the variable is inferior to it's max value.
To be noticed : The macro to be executed before the loops and at the end of each loop will often be macros executing a sequence of macros.
Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source