![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Get functions > Get(ScreenDepth) function |
|
|
| Get(ScreenDepth) function |
| Format |
Get(ScreenDepth) |
| Parameter |
| None |
| Data type returned |
| number |
| Description |
| Returns the number of bits needed to represent the color or shade of gray of a pixel on the main screen. A value of 8 represents 256 (equal to 28) colors or shades of gray. |
| Note See Solving calculations on a host machine for information about running scripts in client/server and peer-to-peer environments. |
| Examples |
| Returns 32 on a display showing millions (232) of colors. |
| Returns 16 on a display showing thousands (216) of colors. |
| Returns 4 on a VGA display. |
| Returns 1 on a black-and-white display. |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Get functions > Get(ScreenDepth) function | Next Page |