HP Pascal/HP-UX Release Notes Version A.10.08
46 Chapter 1
New and Changed Features
Porting HP Pascal/HP-UX Programs
Assignment to Procedure Variables
Assignment to a procedure variable has a different syntax on each of the
two architectures.
Maximum String Size
On the Series 300/400, the maximum string size is 255 characters. By
specifying the LONGSTRINGS compiler option, maximum string size is
virtually unlimited. The string size on Series 700/800 is unlimited.
ANYVAR Parameters
ANYVAR is supported on all HP-UX implementations. Series 300/400 does
not perform checks to see if ANYVAR values are legitimate. Series 700/800
passes size information with ANYVAR parameters.
On the Series 300/400, elements of packed arrays can be passed as
ANYVAR parameters if you use the ALLOW_PACKED compiler option.
Structured Constants
All HP-UX implementations support structured constants but different
restrictions may apply. Series 300/400 restricts their use to the CONST
section and it does not do full type checking on variant-record structured
constants.
longreal Precision
There is a small difference in precision between the implementations of
longreal because different bit-patterns are used.
anyptr, globalanyptr, and localanyptr
All HP-UX implementations have anyptr, although minor differences
exist. On Series 700/800, anyptr is only assignment compatible, it is not
type compatible with pointer types. anyptr is also a different size on
Series 700/800: it is 64 bits.
globalanyptr and localanyptr are implemented only on Series
700/800.