DIM i AS Integer FOR i=1 TO 10 PRINT USING "##"; i; IF i=10 THEN EXIT FOR PRINT ", "; NEXT i