<<

Contents

Search

>>

 

PRINT_TEXTCOLOR

 

 

Instruction

 

 

Syntax:

PRINT_TEXTCOLOR = <Red>,<Green>,<Blue>

 

<Red>

= <NUM-EXPRESSION>

<Green>

= <NUM-EXPRESSION>

<Blue>

= <NUM-EXPRESSION>

 

 

Meaning:

Specifies the foreground color (text color) for PRINT instructions.

 

The background color is specified by PRINT_BACKGROUNDCOLOR.

 

The default setting at the start of the program is 0,0,0 (black).

 

Parameter:

Red

Red value

Green

Green value

Blue

Blue value

 

Sample:

PRINT_TEXTCOLOR = 255,255,255

PRINT_BACKGROUNDCOLOR = 255,0,0

CURSOR(10,2)

PRINT "White text on red background"

 

See also:

PRINT_BACKGROUNDCOLOR

PRINT

GET_COLORS$

SET_COLORS