ISCOLOR()

From Recital Documentation Wiki
Revision as of 16:48, 2 December 2009 by Helengeorge (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to test for color monitor


Syntax

ISCOLOR()


See Also

@...FILL, @...GET, @...TO, BOLD(), REVERSE(), SET COLOR, SETCOLOR(), UNDERLINE()


Description

The ISCOLOR() function will return .T. if the current terminal definition file supports color, otherwise .F..


Example

if iscolor()
    set color to GR/B,W/R
else
    set color to W+
endif


Products

Recital