Color Command

Purpose

Sets RGB value for the drawing and background color.

Syntax

Color f%, b%

f%, b%integer expression

Description

f% specifies the RGB color for the foreground and b% the background color to be used for drawing.

Color is the same as ForeColor and BkColor.

Example

Local Int n

For n = 1 To 4

Print "GFABasic32"

Color Rand(_C) + 1, colBackGround

Next n

See Also

SysCol, RGBColor, QBColor, ForeColor, BkColor

{Created by Sjouke Hamstra; Last updated: 25/09/2014 by James Gaite}