WHILE Loops

See Also

Each language offers equivalent WHILE loop functionality.

Visual FoxPro BASIC
DO WHILE n < 100
 n = n + n
ENDDO
Do While n < 100
 n = n + n
Loop

Pascal C/C++
while n < 100 do
 n := n + n;
while(n < 100)
 n += n;