SCREEN DEPTH This command will return an integer value of the current screen depth.
Syntax
    Return Integer=SCREEN DEPTH()
Returns
The depth, the screen is set to
Description
The depth value indicates the number of bits used to make up a color for the screen and therefore reveal how many colors in total can be used by the screen. A value of 16 indicates it is a 16-bit screen and uses 32000 colors, whereas a 32-bit screen uses 16 million colors.
Example Code
    cls

    set display mode 800,600,32

    set window on

    maximize window

    wait 1000*8

    print "screen depth "+str$(screen depth())

    do

    loop

    end
See also
DISPLAY Commands Menu Index