While/fr
< While
| LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
while( condition ) boucle
| ||||||||||||||||
Spécification
| ||||||||||||||||
Exemples// instruction simple
integer a = 0;
integer b = 10;
while(a < b)
llOwnerSay((string) (a++));
// bloc d'instructions
integer a = 0;
integer b = 10;
while (a < b)
{
llOwnerSay((string) a);
++a;
}
// bloc vide integer a = 0; integer b = 10; while (a++ < b) ; | ||||||||||||||||
While