Difference between revisions of "RESTORE COLOR"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) (→Class) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
Revision as of 14:51, 23 October 2009
Contents
Purpose
Restore saved color schemes
Syntax
RESTORE COLOR FROM <memvar> | FILE <.col filename> | (<expC>)
See Also
@...FILL, @...GET, @...TO, ISCOLOR(), SAVE COLOR, SET COLOR, SETCOLOR()
Description
The RESTORE COLOR FROM command allows the current color scheme to be changed to a previously saved color scheme.
FROM <memvar>
The FROM <memvar> clause can be used to restore the color scheme from a memory variable that was saved with the SAVE COLOR TO <memvar> command.
FROM FILE <.col filename>
The FROM FILE <.col filename> clause can be used to restore the color scheme from a color file. This file must have been created with the SAVE COLOR TO FILE <.col filename> command. The file name can be substituted with an <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, '.col' is assumed.
Example
save color to m_old_color set color // Restore color scheme from a memory variable restore color from m.m_old_color // Restore color scheme from a color file restore color from file payroll.col
Products
Recital Mirage Server, Recital Terminal Developer