COMPUTER CLASS - PSET
The PSET command will place a single pixel on the screen. It can be used like the following examples:
CLS
REM Example
SCREEN 12
PSET (320,240)
END
That example would put a dot in the center of the screen. To make a line, you will need lots of dots. This will either require lots of PSET commands, or a PSET command in a loop. Try the following examples:
CLS
REM Example 2
SCREEN 12
FOR I = 10 TO 40
PSET (I,50)
NEXT I
END
CLS
REM Example 3
SCREEN 12
FOR I = 20 TO 50
PSET (400,I)
NEXT I
END
CLS
REM Example 4
SCREEN 12
FOR I = 200 TO 240
PSET (I,I)
NEXT I
END