// A simple WHILE...ENDWHILE loop. x := 0 WHILE x < 10 DO PRINT "Do some stuff here." x := x + 1 ENDWHILE