Determine if the current computer has color capability
ISCOLOR() | ISCOLOUR() --> lBoolean
ISCOLOR() returns true (.T.) if there is a color graphics card installed; otherwise, it returns false (.F.).
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.).
. 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)