◄Contents► ◄Index► ────────────────────────────────────────────────────────────────────────────── Draw a specified point on the screen. PRESET [STEP] (x!,y!) [,color%] PSET [STEP] (x!,y!) [,color%] ■ STEP Specifies that the x! and y! are expressed relative to the current graphics cursor location. ■ (x!,y!) The screen coordinates of the pixel to be set. ■ color% A color attribute that sets the pixel color. If color% is omitted, PRESET uses the current background and PSET uses the current foreground color. ■ Available color attributes depend on your graphics adapter and screen mode. Coordinate values depend on the graphics adapter, screen mode, and most recent VIEW and WINDOW statements. Example: 'This example requires a color graphics adapter. SCREEN 1 FOR i% = 0 TO 320 PSET (i%, 100) FOR delay% = 1 TO 100: NEXT delay% PRESET (i%, 100) NEXT i% See Also ◄SCREEN► ◄VIEW► ◄WINDOW► ◄Color Attributes and Values► ◄Screen Modes► ────────────────────────────────────────────────────────────────────────────── © Copyright Microsoft Corporation, 1987-1992. All rights reserved. Converted from qbasic.hlp with DosHelp/HelpConvert