BASIC stamp manual v2.2
EXIT – BASIC Stamp Command Reference
Page 190 • BASIC Stamp Syntax and Reference Manual 2.2 • www.parallax.com
row VAR Nib
Setup:
col = 0
Main:
DO WHILE (col < 10) ' attempt 10 iterations
FOR row = 0 TO 15 ' attempt 16 iterations
IF (row > 9) THEN EXIT ' terminate when row > 9
DEBUG CRSRXY, (col * 8), row, ' print col/row at location
DEC col, "/", DEC row, CR
NEXT
col = col + 1 ' update column
IF (col = 3) THEN EXIT ' terminate when col = 3
LOOP
END