Difference between revisions of "SAVE COLOR"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Save current color scheme | Save current color scheme | ||
Line 35: | Line 31: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Screen Forms]] | [[Category:Screen Forms]] | ||
[[Category:Screen Forms Commands]] | [[Category:Screen Forms Commands]] |
Latest revision as of 16:35, 12 November 2009
Contents
Purpose
Save current color scheme
Syntax
SAVE COLOR TO <memvar> | FILE <.col filename>
See Also
@...FILL, @...GET, @...TO, ISCOLOR(), RESTORE COLOR, SET COLOR, SETCOLOR()
Description
The SAVE COLOR TO command saves the current color scheme to a memory variable or a file. When Recital Terminal Developer is activated from the operating system prompt, the colors are set from a system wide color file, called default.col, stored in the software root directory. Also, a local default.col file can be created in your current directory to be called after the system file. These files can be changed with the SAVE COLOR TO FILE and SET COLOR SCHEME TO commands.
TO <memvar>
The TO <memvar> clause can be used to save the color scheme to a memory variable. This variable can be restored with the RESTORE COLOR FROM <memvar> command.
TO FILE <.col filename>
The TO FILE <.col filename> clause can be used to save the color scheme to a color file. This file can be restored with the RESTORE COLOR TO FILE <.col filename> command. The filename can be substituted with an <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, '.col' is used.
Example
save color to m_old_color set color restore color from m->m_old_color save color to file payroll.col
Products
Recital