WHILE
Syntax WHILE testlist runlist
 
Explanation

WHILE evaluates its first input and runs the Logo command(s) in its second input if the value of the first input is TRUE. WHILE will continue this process until the value of the first input is FALSE.

See also FOR, IF, IFTRUE, and IFFALSE.
 
 

Examples MAKE "X 1 
WHILE [:X < 5] [PRINT :X MAKE "X :X + 1] 



4

TopIndex