kytschBASIC

Put down that phone!
Please view me on real computer.

WHILE

Create a while loop.

Example

iLoop=10
WHILE iLoop>0
	PRINT iLoop
	LINE BREAK
	LET iLoop=iLoop-1
WEND

Output

iLoop
iLoop
iLoop
iLoop
iLoop
iLoop
iLoop
iLoop
iLoop
iLoop

See also