@...FILL

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Change the colors of a specified region


Syntax

@<expN1>,<expN2> FILL TO <expN3>,<expN4> [COLOR <color>]


See Also

@...BOX, @...CLEAR, @...GET, @...MENU, @...PROMPT, @...SAY, @...SCROLL, @...TO, CLEAR, CLEAR SCREEN, ISCOLOR(), RESTORE COLOR, RESTORE SCREEN, SAVE COLOR, SAVE SCREEN, SET COLOR, SET DEVICE, SETCOLOR()


Description

The @...FILL command changes the colors of the text in the specified region of the screen, or window. Only the standard foreground and background colors in the area can be changed. This command affects the display already on the screen and any subsequent commands that write to this area will use the default colors, not the colors set with the @...FILL command. If the COLOR <color> option is omitted, the @...FILL command clears the specified region of the screen. If SET DEVICE TO PRINT is in effect, then this command is ignored.

The region on the screen is specified using <expN1> and <expN2> as the top left corner row and column coordinates, and <expN3>, <expN4> as the bottom right corner row and column coordinates.


Clause Description
COLOR <color> The <color> is a color pair. A color pair is a set of two letters separated by a forward slash. The first color letter specifies the foreground color and the second letter specifies the background color.


Example

@05,00 fill to 08,09 color gr+/b


Products

Recital