Sunday, August 14, 2022

❇ COLOR: background parameter

In the original version of wwwBASIC (the BASIC interpreter used in BASIC Anywhere Machine), the background color parameter is ignored for all screen modes greater than zero.

This has been changed in BASIC Anywhere Machine: the background color parameter is applied in all screen modes.

About the COLOR statement

The COLOR statement is used to change the foreground and background colors for printing text.

Syntax:  COLOR foreground%, background%

  • both parameters,
  • or just the first,
  • or just the second (preceded by the comma)

foreground%An integer number code identifying the color of the text.
background%An integer number code identifying the color of the text background.

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...