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

🖥 Fractals in Focus : A classic BASIC program with some new twists

This program is a port and mod of Steve Justice's program presented in the "Fractals in Focus" article found in the May 1985 i...