Article proposé
---------------
L'article "20. Recursive loops" est proposé à la publication.
Vous êtes invité à venir le consulter et à donner votre opinion
dans le forum qui lui est attaché. Il est disponible à l'adresse :
http://www.spip.net/ecrire/articles.php3?id_article=2090
** 20. Recursive loops **
par Paolo
Recursive loops are a very powerful means of building a hierarchical
display. The programming code required is particularly simple, but to use
this recursive function you need to have a clear understanding of the
sequence of the loops involved.
It’s very easy to call a recursive loop: in place of the TYPE of the
outer loop, you simply indicate the name of another loop:
<BOUCLEy(BOUCLEx)><BOUCLEy>
There is no criterion to add. In fact, loop y is simply a copy of loop x.
The whole structure above functions exactly as if you had recopied the
whole of loopx, with all its contents (the Spip and HTML tags, the text,
as well as the conditional texts – (...)