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<source lang="lsl2"> //single statement integer a = 0; integer b = 10; while(a < b) llOwnerSay((string)(a++)); </source> <source lang="lsl2"> //block statement integer a = 0; integer b = 10; while(a < b) { llOwnerSay((string)a); ++a; } </source> <source lang="lsl2"> //null statement integer a = 0; integer b = 10; while(a++ < b); </source> | ||||||||||||||||
While