$screenb » History » Version 2
Per Amundsen, 08/11/2015 10:55 AM
| 1 | 1 | Per Amundsen | _Added in 1.8.2_ |
|---|---|---|---|
| 2 | |||
| 3 | *$screenb* |
||
| 4 | |||
| 5 | Returns the bit depth of the first screen found. |
||
| 6 | |||
| 7 | ----------------------------------------------------------------------------- |
||
| 8 | |||
| 9 | *$screenb(N)* |
||
| 10 | |||
| 11 | Returns the bit depth the Nth screen found. |
||
| 12 | |||
| 13 | *Parameters* |
||
| 14 | |||
| 15 | N - If N = 0, the number of screens found, otherwise the Nth screen. |
||
| 16 | |||
| 17 | 2 | Per Amundsen | *Example* |
| 18 | |||
| 19 | 1 | Per Amundsen | <pre> |
| 20 | ; Print number of screens. |
||
| 21 | //echo -ag $screenb(0) |
||
| 22 | |||
| 23 | ; Print the bith depth of the first screen found. |
||
| 24 | //echo -ag $screenb(1) |
||
| 25 | </pre> |