_C Variable

Purpose

Contains the number of colors supported by the graphic adapter installed under Windows.

Syntax

_C

Description

By using _X, _Y, and _C the programs can be written regardless of the resolution or window size. _C returns the value relevant for the installed graphic adapter e.g. the values 2, 16, 256., 32768, 65536, 16 million....

Example

OpenW # 1

Print _C

See Also

_X, _Y

{Created by Sjouke Hamstra; Last updated: 18/09/2014 by James Gaite}