While/fr: Difference between revisions
< While
m Proofread |
m Fixing links |
||
| Line 36: | Line 36: | ||
|also_articles | |also_articles | ||
|also_footer | |also_footer | ||
|notes=Une boucle {{LSLG|do-while}} est plus rapide qu'une boucle while ou {{LSLG|for}}. | |notes=Une boucle {{LSLG|do-while/fr|do-while}} est plus rapide qu'une boucle while ou {{LSLG|for/fr|for}}. | ||
|mode | |mode | ||
|deprecated | |deprecated | ||
Revision as of 04:28, 4 December 2007
| 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