Difference between revisions of "SCHEME()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the color codes for a specified color scheme
 
Function to return the color codes for a specified color scheme
Line 27: Line 25:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Screen Environment]]
 
[[Category:Screen Environment]]
 
[[Category:Screen Environment Functions]]
 
[[Category:Screen Environment Functions]]

Latest revision as of 15:30, 7 December 2009

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