21. cio::SetColor col

[<<<] [>>>]

The the color of the consecutive printings or clear screeen cls.

The argument should be an integer value defining the actual color. To create this value the constants defined in cio.bas should be used. These are:

To set the actual color of the foreground and the background the programmer may use and expression that or connects these values. For example

cio::SetColor FBlue or BIntense

sets the foreground blue and the backgound black with intense bit set (a kind of light grey). To get the actual colors play a bit with the sample program testconcol.bas in the directory examples.

To ease different color settings the header file cio.bas defines the following constants:

[<<<] [>>>]