HP Pascal/iX Reference Manual (31502-90022)

11- 27
Example
PROCEDURE proc( x,y : integer ) OPTION INLINE;
...
BEGIN
...
END;
For more information about INLINE, refer to the
HP Pascal/iX Programmer's
Guide
or the
HP Pascal/HP-UX Programmer's Guide
, depending on your
implementation.
UNCHECKABLE_ANYVAR.
By default, every ANYVAR parameter is accompanied by a hidden size
parameter that indicates the size of the actual parameter. The purpose
of this parameter is to allow the routine with the formal ANYVAR
parameter to verify that a reference to the formal parameter is within
the bounds of the actual parameter by predefined size functions such as
sizeof.
Syntax
The option UNCHECKABLE_ANYVAR specifies that the hidden size parameter is
not passed by the caller and is not expected by the callee. Its primary
use is to interface with non-Pascal procedures and functions that do not
support the hidden size parameter.
A routine with the option UNCHECKABLE_ANYVAR must have at least one
ANYVAR parameter in its formal parameter list.
Calling the predefined size functions sizeof or bitsizeof for a formal
ANYVAR parameter with option UNCHECKABLE_ANYVAR, returns the size of the
formal parameter as opposed to the size of the actual parameter.
Example
PROCEDURE proc( ANYVAR arr : array_type )
OPTION UNCHECKABLE_ANYVAR;
BEGIN
END;
The routine above can be called from languages that do not support the
hidden size parameter because it has been declared with the option
UNCHECKABLE_ANYVAR.
UNRESOLVED.
Procedure option UNRESOLVED denotes a procedure or function that is left
unresolved by both the linker and the loader. The resolution of the
symbolic name to its reference part is delayed until the procedure or
function is used.
The suggested way to use this kind of procedure or function is to use the
predefined function addr to determine if it can be resolved. NIL is