A While loop (created with the While and End While actions) repeats a series of actions as long as a particular condition (specified in the While action) is satisfied.
En While-slinga (som skapas med åtgärderna While och End While) upprepar en rad åtgärder så länge ett visst förhållande föreligger (som anges i åtgärden While).
Unlike a while loop, it runs once before any conditions are tested.
Till skillnad från en while loop, det körs en gång innan eventuella villkor är testade.
Step 4 We will use a While loop to look for a change in color but first we need to know what color the Rover currently 'sees'.
Steg 4 Vi ska senare använda en While-loop för att titta efter färg- ändringar men först måste vi veta vilken färg som Rover "ser" för tillfället.
Add a While loop to Read the BRIGHTNESS sensor and Get its value into a variable B.
Lägg till en While loop för att läsa av (Read BRIGTHNESS) ljusgivaren och med kommandot Get b får vi värdet i en variabel b.
Add a While loop to read the brightness using Send("READ BRIGHTNESS") and get the brightness variable with Get(B). First Step 1 Congratulations
Lägg till en While... EndWhile-loop för att läsa ljusintensiteten genom att använda Send "READ BRIGHTNESS", och få värdet för ljusvariabeln med Get b.
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.
Não foram achados resultados para esta acepção.
Sinônimos e analogias para "a while loop" em inglês