bas7advr.hlp (
Topic list)
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.