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

πŸ–₯ Flower Tesselation: Testing DRAW and recursive SUB's

This BAM program inspired by Richard Russell's "Flower-like tesselation" BBC BASIC program posted on Facebook . Created in ord...