Friday, November 25, 2022

❇ PSET and ❇ PRESET

 Added the STEP keyword as an option for both statements.

The PSET graphics SCREEN statement sets a pixel at a specified coordinate to a specified color attribute, or the current foreground color if a color attribute is not specified. When the STEP keyword is included, then PSET sets a pixel at a coordinate that is relative to the most recently referenced point.

PSET (column%, row%)[, colorAttribute]

PSET STEP (column%, row%)[, colorAttribute]


The PRESET graphics SCREEN statement sets a pixel at a specified coordinate to a specified color attribute, or the current background color if a color attribute is not specified. When the STEP keyword is included, then PRESET sets a pixel at a coordinate that is relative to the most recently referenced point.

PRESET (column%, row%)[, colorAttribute]

PRESET STEP (column%, row%)[, colorAttribute]



No comments:

Post a Comment

πŸ–₯ Spiralling Text (old-school sine wave)

This is a mod of a program Richard Keijzer wrote in TRS-80 Level II BASIC (44 years ago) and recently shared with the BASIC Programming Lang...