Added in 1.8.2

$screenb

Returns the bit depth of the first screen found.


$screenb(N)

Returns the bit depth of the Nth screen found.

Parameters

Parameter Description
N If N = 0, the number of screens found, otherwise the Nth screen.

Example

; Print number of screens.
//echo -ag $screenb(0)

; Print the bith depth of the first screen found.
//echo -ag $screenb(1)