ISCOLOR() Determine if the current computer has color capability ------------------------------------------------------------------------------ Syntax ISCOLOR() | ISCOLOUR() --> lBoolean Returns ISCOLOR() returns true (.T.) if there is a color graphics card installed; otherwise, it returns false (.F.). Description ISCOLOR() is a screen function that allows you to make decisions about the type of screen attributes to assign (color or monochrome). Note that some monochrome adapters with graphics capability return true (.T.). Examples . This example installs color attribute variables at runtime: IF ISCOLOR() cBox = "BG+/B, W/N" cSays = "BG/B, W/N" cGets = "W/N, N/W" ELSE cBox = "W+" cSays = "W/N, N+/W" cGets = "W/N, N/W" ENDIF . . <statements> . SETCOLOR(cSays) Files Library is CLIPPER.LIB.
See Also: SETCOLOR()