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

🖥 Pongy game

This program is a port (and slight mod) of the QB64pe program by SierraKen.  (SierraKen's program shared with the QB64pe community in th...