The NEXT statement marks the end of a FOR, UNTIL, or WHILE loop. You cannot supply a variable in an UNTIL or WHILE loop. Example FOR I% = 1% TO 10% PRINT I% NEXT I%