HP Pascal/iX Programmer's Guide (31502-90023)

5-: 5
Table 5-2. Allocation and Alignment of Packed Variables
(HP Pascal Packing Algorithm)
-------------------------------------------------------------------------------
| | | |
| Variable Type | Allocation | Alignment |
| | | |
-------------------------------------------------------------------------------
| | | |
| Anyptr | 8 bytes | 4-byte |
| | | |
-------------------------------------------------------------------------------
| | |
| Array | See "Arrays" for information on entire array |
| | and "Packed Arrays" for information on |
| | elements. |
| | |
-------------------------------------------------------------------------------
| | | |
| Bit16 | 2 bytes | 2-byte |
| | | |
-------------------------------------------------------------------------------
| | | |
| Bit32 | 4 bytes | 4-byte |
| | | |
-------------------------------------------------------------------------------
| | | |
| Bit52 | 8 bytes | 4-byte |
| | | |
-------------------------------------------------------------------------------
| | | |
| Boolean | 1 bit | Bit |
| | | |
-------------------------------------------------------------------------------
| | | |
| Char | 1 byte | Byte in array, bit in |
| | | record |
| | | |
-------------------------------------------------------------------------------
| | |
| Enumeration | See "Enumerations and Subranges" |
| | |
-------------------------------------------------------------------------------
| | | |
| File | See "Files" | 8-byte |
| | | |
-------------------------------------------------------------------------------
| | | |
| Function | 8 bytes | 4-byte |
| | | |
-------------------------------------------------------------------------------
| | | |
| Globalanyptr | 8 bytes | 4-byte |
| | | |
-------------------------------------------------------------------------------
| | | |
| Integer | 4 bytes | 4-byte |
| | | |
-------------------------------------------------------------------------------
| | | |
| Localanyptr | 4 bytes | 4-byte |
| | | |
-------------------------------------------------------------------------------
| | | |
| Longint | 8 bytes | 4-byte |
| | | |
-------------------------------------------------------------------------------
| | | |
| Longreal | 8 bytes | 8-byte |