EasyManua.ls Logo

Husky Hunter - Page 285

Husky Hunter
499 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC FUNCTIONS
SECTION 5.17
PSET/PRESET
5,17,14 Function PSET and PRESET are used to set or reset an individual
pixel at the specified coordinates,
Syntax PSET (X1,Y1),(X2,Y2),(X3,Y3), ...
PRESET (X1,Y1), (X2,Y2), .. ,
Any number of points may be specified in one statement.
(x,y) are the coordinates of the pixel to be set or reset
and must lie in the range O<x<239 and O<y<63. The
coordinate (O,O) refers to the top left corner of the
screen.
Examples PSET(0,0),(239,0),(0,63),(239,63)
Will set the four corner pixels black.
Remarks PSET and PRESET are graphic statements and will default the
screen to graphic mode, If when a PSET/PRESET statement is
encountered the screen is in text mode, it will auto-
matically change to graphic mode,
VER,V09F
PSET sets pixels (turns them black)
PRESET resets pixels (turns them white)
Each time a pixel is set or reset using PSET and PRESET the
graphic cursor is moved to that pixel,
PAGE 5,- 116