El comando while evalúa automáticamente su primer argumento como una expresión.
The while command automatically evaluates its first argument as an expression.
Es la implementación del comando while quien sabe que el primer argumento es una expresión, y el segundo argumento consta de más comandos Tcl.
It is the implementation of the while command knows that the first argument is an expression, and the second argument is more Tcl commands.
El parser del Tcl no sabe nada en especial acerca del comando while.
The Tcl parser knows nothing special about the while command.
Usando el comando while. La forma mas común de resolver este problema sería
Using the command while, the most common way to solve this problem would be
Y esta claro, si quisiera verificar una condición, usaría el comando while junto con el comando test, exactamente como aprendiste a hacer en el if, recuerdas?
And, of course, if you want to check if a condition is true you can do it by using while with test, exactly how you learnt back during our if talk. Remember?
El comando WHILE ejecutará todos los comandos dentro de él, siempre y cuando la condición sea "TRUE".
The WHILE statement will execute the commands in its body as long as the condition equals "TRUE".
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.