Do while/fr: Difference between revisions
< Do while
Fixed |
Fixed category |
||
| Line 43: | Line 43: | ||
|mode | |mode | ||
|deprecated | |deprecated | ||
|cat1=Conditional | |cat1=Conditional/fr | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} | ||
Revision as of 03:24, 24 December 2007
| LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
do boucle while (condition);
| ||||||||||||||||
Spécification
| ||||||||||||||||
Exemples//Compte de 1 à 5
default
{
state_entry()
{
integer olf;
do
llSay(0, (string) (++olf));
while (olf < 5);
}
}
//Compte de 0 à 4
default
{
state_entry()
{
integer olf;
do
llSay(0, (string) olf);
while ((++olf) < 5);
}
}
|
Do while