SCHEME()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to return the color codes for a specified color scheme


Syntax

SCHEME(<expN1>[, <expN2>])


See Also

SET COLOR


Description

The SCHEME() function returns a color code pair or the list of all the color code pairs for a specified color scheme. The color scheme is specified using the numeric expression, <expN1>. If only <expN1> is specified, the entire list of color code pairs for that scheme is returned. If <expN2> is specified, the color code pair at that position in the list will be returned.


Example

? scheme(1)
W/B,R/W,B+/B+,W+/RB,N/W,BG+/R,GR+/R,N+/N,N/N,N/N
? scheme(1,4)
W+/RB


Products

Recital