Console_ColorAt

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Console >

Console_ColorAt

 

Description

 

Set color attribute at a specific x, y location for a specified length or for a text region.

 

Syntax

 

Console_ColorAt(x1, y1, len, Color)

 

or alternative syntax

 

Console_ColorAt(x1, y1, x2, y2, Color)

 

Returns

 

Parameters

 

Name

Type

Optional

Meaning

x1

Number

No

starting x position

y1

Number

No

starting y position

length

Number

no

number of chars to change (minimum 1)

Color

Number

No

Color to be used

 

or

 

Name

Type

Optional

Meaning

x1

Number

No

starting x position

y1

Number

No

starting y position

x2

Number

no

end x position

y2

Number

No

end y position

Color

Number

No

Color to be used

 

Remarks

 

Restrictions

 

See also

 

Examples