bas7advr.hlp (
Topic list)
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 Statement Details
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
PRESET draws a specified point on the screen.
PRESET [STEP] (x%,y%) [,color&]
■ STEP indicates that the x and y coordinates are relative, not
absolute. The coordinates are treated as distances from the most
recent graphics cursor location, not distances from the (0,0)
screen coordinate. For example, if the most recent graphics cursor
location were (10,10), PRESET STEP (10,5) would draw a point at
(20,15).
■ If the argument color& is omitted, the current background color
is used.
Usage Notes
■ PRESET works exactly like PSET, except that if the color is not
specified for a PSET statement, the current foreground color is
the default.
■ If the coordinate is outside the current viewport, no action is
taken, nor is an error message given.