Navigation:  thinBasic Modules > Console >

Console_ForegroundRGB

Previous pageReturn to chapter overviewNext page

 

Description

 

Creates a foreground color.

 

Syntax

 

n = Console_ForegroundRGB(RedFlag, GreenFlag, BlueFlag, HighlightFlag )

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

RedFlag

Number

No

Red flag: not 0 = on, 0 = off.

GreenFlag

Number

No

Green flag: not 0 = on, 0 = off.

BlueFlag

Number

No

Blue flag: not 0 = on, 0 = off.

HighlightFlag

Number

No

Highlight flag: not 0 = on, 0 = off.

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com