The while loop can be thought of as a repeating if statement.
La boucle while peut être considérée comme une répétition de l'instruction if.
This behaviour is the same as a while loop conditional.
Ce comportement est le même pour la condition d'une boucle while.
That is, this while loop is executed a random numbers of times.
C'est-à-dire que cette boucle While est exécutée un nombre aléatoire de fois.
This tutorial explains the working of the while loop.
Ce tutoriel explique le fonctionnement de la boucle while.
A while loop may have multiple conditions.
Une boucle while peut avoir de multiples conditions.
Then each fileline is read by the while loop and permissions are changed.
Chaque ligne-fichier est ensuite lue par la boucle while et les droits sont changés.
There are following important points to note about a while loop
Il y a des points importants suivants à noter sur une boucle while
The shift() method is often used in condition inside while loop.
La méthode shift() peut être utilisée dans une boucle while.
At least one of them should be defined otherwise the while loop will not be executed.
Au moins l'un d'entre eux devrait être défini, sinon la boucle while ne sera pas exécutée.
In this case, there is a while loop based on a counter, which is increased randomly.
Dans ce cas, on utilise une boucle while basée sur un compteur qui est incrémenté aléatoirement.
The getopts template differs slightly from the standard while loop, in that it lacks condition brackets.
Le modèle getopts diffère légèrement de la boucle while standard, dans le fait qu'il manque les crochets de condition.
This variable holds the line which is currently read inside the above while loop.
Cette variable contient la ligne lue à ce moment par la boucle while mentionnée ci-dessus.
Note that we use a while loop so that all pending events are processed in case there were several.
Notez bien que nous utilisons une boucle while de manière à inspecter tous les évènements, au cas où il y en aurait plusieurs en attente d'être traités.