RosettaCodeData/Task/Loops-Continue/BASIC/loops-continue-10.basic

11 lines
124 B
Plaintext

OPTION EXPLICIT
DIM i AS INTEGER
CLS
FOR i = 1 TO 10
PRINT STR$(i);
IF (i MOD 5) THEN PRINT ","; ELSE PRINT
NEXT i
END