Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
PRESET, PSET Statements
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Draws a specified point on the screen; not available when forms are showing.
Available color attributes depend on your graphics adapter and screen mode.
Coordinate values depend on your graphics adapter, screen mode, and most
recent VIEW and WINDOW statements.
PRESET [STEP] (x!,y!) [,color%]
PSET [STEP] (x!,y!) [,color%]
■ STEP Specifies that x! and y! are expressed relative to the
current graphics cursor location
■ (x!,y!) Screen coordinates of the pixel to set
■ color% Color attribute that sets the pixel color; if omitted,
PRESET uses current background and PSET uses current
foreground color
See Also
◄Color Attributes and Values (SCREEN)► ◄Screen Mode Summary►
◄SCREEN Statement► ◄VIEW Statement►
◄WINDOW Statement►