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

A-: 21
Example
VAR
s1 : string[10];
s2 : string[7];
The string s1 takes 14 bytes:
2+10+{2-ORD[ODD(10)]} =
12+[2-ORD(FALSE)] =
12+(2-0) = 14
The allocation is:
The string s2 takes 10 bytes:
2+7+{2-ORD[ODD(7)]} =
9+[2-ORD(TRUE)] =
9+(2-1) = 10
The allocation is: