ISCOLOR()

From Recital Documentation Wiki
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