| United States-English |
|
|
|
![]() |
HP Pascal/HP-UX Programmer's Guide > Chapter 4 Predefined Pascal Constants, Data Types, and ModulesBit16 |
|
The predefined data type bit16 is a subrange, 0..65535, that is stored in 16 bits. bit16 is a unique HP Pascal type because arithmetic operations on bit16 data are truncated to modulo 65535 when stored. To determine if a type T is assignment compatible with bit16, treat bit16 as a subrange of integer:
Example
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||