0 REM Bob Ammerman NESTSQRS.BAS.txt

10 REM - nested squares
20 DZOP "C",1 : REM Color mode  [Range = 0-127 ... Specific Character Code]
25 C=16 : REM Color code

30 FOR I=0 TO 124 STEP 4
40 DZOP "P", I, I : REM cursor to I,I  [Cursor Position]

50 J=255-I
55 DZOP "C",C : REM set color
60 DZOP "L", I, J : REM draw 4 lines  [Draws a Line from Cursor Position to x,y]
70 DZOP "L", J, J
80 DZOP "L", J, I
90 DZOP "L", I, I

100 C=C+1 : REM to next color
110 IF C>23 THEN C=16 : REM Loop around colors
120 NEXT I

130 FOR I=1 TO 100
140 DZOP "W",1 : REM wait 1/10 second  [Each Wait is 0.1 Seconds]
150 DZOP "Y" : REM cycle colors(??)  [Cycles the Display Through the Palette??]
160 NEXT I
