Do while/fr
< Do while
| 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