HP Pascal/iX Programmer's Guide (31502-90023)
9- 14
Table 9-4. Corresponding HP Pascal and SPL Types
---------------------------------------------------------------------------------------------
| | |
| HP Pascal Type | Corresponding SPL Type |
| | |
---------------------------------------------------------------------------------------------
| | |
| Array: Not PACKED | Array of corresponding type. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Array: PACKED | Array of corresponding type. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Bit16 | Logical. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Bit32 | Array of logical |
| | |
---------------------------------------------------------------------------------------------
| | |
| Bit52 | Array of logical |
| | |
---------------------------------------------------------------------------------------------
| | |
| Boolean (false = 0, true = 1) | Byte (odd is false, even is true). |
| | |
---------------------------------------------------------------------------------------------
| | |
| Char | Byte. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Enumeration 256 or fewer elements | Byte. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Enumeration 257 or more elements | Logical. |
| | |
---------------------------------------------------------------------------------------------
| | |
| File | Not available. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Function | Typed procedure. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Function parameter or variable | Not available. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Integer | Double. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Longint | Array of logical |
| | |
---------------------------------------------------------------------------------------------
| | |
| Longreal (HP3000_16) | Longreal. |
| | |
---------------------------------------------------------------------------------------------
| | |
| PAC of
n
characters | Byte array. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Pointer Not EXTNADDR | Not available. |
| | |
---------------------------------------------------------------------------------------------