Difference between revisions of "SETCOLOR()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
=SETCOLOR()=
 
 
 
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the current color setting and optionally set a new color setting
 
Function to return the current color setting and optionally set a new color setting

Revision as of 16:15, 28 October 2009

Purpose

Function to return the current color setting and optionally set a new color setting


Syntax

SETCOLOR([<color>])


See Also

@...FILL, @...TO, @...GET, SET COLOR


Description

The SETCOLOR() function is used to determine the current color settings defined with the SETCOLOR() function or the SET COLOR TO command. This function returns a character string in upper case. The optional <color> setting allows the colors to be changed in the same way that the SET COLOR TO <color> command works.


Example

oldcolor = setcolor("BR+/N")


Products

Recital Mirage Server, Recital Terminal Developer