Compartir a través de


SCHEME( ) Function

Returns a color pair list or a single color pair from a specified color scheme.

SCHEME(nSchemeNumber [, nColorPairNumber])

Return Value

Character

Parameters

  • nSchemeNumber
    Specifies the number of the color scheme for which you want a complete color-pair list. SCHEME( ) returns ten color pairs.

  • nColorPairNumber
    Specifies the position of one color pair in the color scheme, and SCHEME( ) returns only this color pair. For example, if nColorPairNumber is 4, SCHEME( ) returns the fourth color pair from the color scheme.

Example

The following example returns the third color pair from color scheme number 4:

? SCHEME(4,3)

See Also

Reference

ColorScheme Property

GETCOLOR( ) Function

Other Resources

Functions