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

🖥A "10PRINT" Variant, BAMified

This program by Charlie Veniot is a port and mod of Ian Witham's C64 program found in this YouTube video. New colours are randomly proje...