HP Pascal/HP-UX Release Notes Version A.10.08

44 Chapter 1
New and Changed Features
Porting HP Pascal/HP-UX Programs
Table 1-6 HP Pascal/HP-UX Data Types
a. On Series 700/800, 1, 2, or 4 bytes can be allocated, depending on the declared
range.
Type
Size
(bytes)
Alignment
(300/400)
Alignment (700/800)
bit16 2 Not supported 2
bit32 4 Not supported 4
bit52 8 Not supported 4
boolean 1 1-byte 1-byte
char 1 1-byte 1-byte
enumeration 2
a
2-byte 1-, 2-, or 4-byte, based on declared
range
subrange of
enumeration
2
a
same as host
enumeration
type
2-byte or 4-byte, based on
declared range
$extnaddr$ pointer 8 Not supported 4
integer 4 4-byte 4-byte
subrange of integer
≥−32768 AND
32767
2
a
2-byte 2-byte
subrange of integer
< 32768 OR > 32767
4 4-byte 4-byte
longint 8 Not supported 4-byte
longreal 8 4-byte 8-byte
pointer 4 4-byte 4-byte
real 4 4-byte 4-byte
set Varies Varies Varies
shortint 2 Not supported 2-byte