Difference between revisions of "ISCOLOR()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Function to test for color monitor
 
Function to test for color monitor
Line 28: Line 26:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 16:48, 2 December 2009

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