[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SETCOLOR()

    SETCOLOR() determines the current or previous color setting and
optionally defines colors for the next screen painting
activity.

Syntax

    SETCOLOR([<expC>])

Argument

    <expC> is a character string containing the standard, enhanced,
border, background, and unselected color settings to make the current
colors.  Unlike SET COLOR TO, SETCOLOR() with no argument does not
restore colors to their default values.

Note also that SETCOLOR() only supports color lettercombinations and
not color numbers.

Returns

A character string.

SETCOLOR() returns a string representing the last color setting if
<expC> is specified and the current setting if it is not specified.

Usage

    Standard/Enhanced: The "standard" and "enhanced" displays are color
    pairs with a foreground and an optional background color.  "Standard"
    is used by all output, such as @...SAY and ?.  "Enhanced" setting
    affects only the display of GETs.

    Border: Sets the border color.  Border color is not supported on
    EGA or VGA monitors.

    Background: The "background" is not currently supported by any
    machines for which Nantucket provides drivers.

    Unselected: THe "unselected" setting displays the current GET in
the "enhanced" color while other GETs are displayed in the
"unselected" color.

Attributes: High intensity and blinking are the supported
attributes of colors.  High intensity is denoted by "+" and blinking
with "*".  Each attribute specified is applied to the foreground color
no matter where it occurs in the setting definition.

    The following table lists the colors available:

         Color              Letter
         BLACK              N
         BLUE               B
         GREEN              G
         CYAN               BG
         RED                R
         MAGENTA            RB
         BROWN              GR
         WHITE              W
         GREY               N+
         YELLOW             GR+
         BLANK              X
         Underline          U
         Inverse Video      I

See Also: ISCOLOR() SET COLOR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson