Silverfrost Logo About Us | Contact Us
 

GET_DISPLAY_BITS@

Platform

Win32(ClearWin+)

Purpose

To get the number of screen colours.

Syntax

INTEGER FUNCTION GET_DISPLAY_BITS@()

Return value

GET_DISPLAY_BITS@ returns one of the following values:

4

16 colours

8

256 colours

16

High colour 16-bit

24

True colour 24-bit

32

True colour 32-bit

Notes

The number of colours for 32-bit True colour is too large for a signed 32-bit integer INTEGER(3).

 

 

Copyright © 1999-2017 Silverfrost Limited