The CONDITION loop

Associated with the {si ...}, criterion, the CONDITION loop is used to create tests.

It is useful when the bracket syntax is not usable, for example when other loops need to be nested in the results of a test.

For example:

 
<BOUCLE_test(CONDITION){si #ENV{test}|>{5}}>
    true
   <BOUCLE_a(ARTICLES){...}></BOUCLE_a>
   <BOUCLE_b(BREVES){...}></BOUCLE_b>
   <BOUCLE_c(AUTEURS){...}></BOUCLE_c>
</BOUCLE_test>
    false
    <BOUCLE_x(RUBRIQUES){...}></BOUCLE_x>
    <BOUCLE_y(DOCUMENTS){...}></BOUCLE_y>
<//B_test>

See also

Criterion si ...

Author jack Published :

Translations : English, français, Nederlands