MICwhile provides a MIC native while loop that will iterate over the MIC-HTML code enclosed within the MICwhile environment until the conditional fails.
Generally, there will be some Perl within a MICPerl or snippet which will cause the loop to eventually terminate. For example:
<MICPerl>my $test = 0;</MICPerl> <MICwhile test="$test < 4"> Iteration: [+ ++$test; +]<br> </MICwhile>
would produce something like:
Iteration: 1 Iteration: 2 Iteration: 3 Iteration: 4
Like all the other MIC native logic tags, the MIC code between the opening and closing MICwhile tags constitute a lexical block.