**SPIP**
# Article submitted
The article "**The CONDITION loop**
(https://www.spip.net/ecrire/?exec=article&id_article=6565)" is submitted
for publication. on Saturday 23 May 2020.
* * *
## The CONDITION loop
Saturday 23 May 2020 , by [jack](.././?page=auteur&id_auteur=593&)
Associated with the `{si ...}`
(https://www.spip.net/ecrire/?exec=article&id_article=5535), lcriterion,
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}
}
>
vrai
<BOUCLE_a
(ARTICLES)
{...}
>
</BOUCLE_a>
<BOUCLE_b
(BREVES)
{...}
>
</BOUCLE_b>
<BOUCLE_c
(AUTEURS)
{...}
>
</BOUCLE_c>
</BOUCLE_test>
faux
<BOUCLE_x
(RUBRIQUES)
{...}
>
</BOUCLE_x>
<BOUCLE_y
(DOCUMENTS)
{...}
>
</BOUCLE_y>
<//B_test>
## See also
Criterion *si ...*
(https://www.spip.net/ecrire/?exec=article&id_article=5535)
— Sent by SPIP (https://www.spip.net/)
