FOR I=1 TO 10 PRINT I NEXT
Run
Stop
Clear console
Input:
Output: