PROGRAM ART
The following program uses the pixel on command to draw an image from the lists controlling the screen display.
PROGRAM:ARTNotes::ClrHome
:AxesOff
:ClrDraw
:FnOff
:For(I,1,_____)
:For(H,2*L1(I)-1,2*L1(I))
:For(V,2*L2(I)-1,2*L2(I))
:Pxl-On(H,V)
:End
:End
:End
- The value entered in the blank in the first FOR loop is the total number of shaded squares in the screen planning sheet.
- The second loop controls the horizontal placement on the screen, so store the row numbers in L1.
- The third loop controls the vertical placement on the screen, so store the column numbers in L2.