HP Pascal/iX Reference Manual (31502-90022)

12- 40
(X,Y: Integer);
.
.
.
In each compilation unit where you want to duplicate the code of a
specific routine in-line, you must specify the entire routine definition.
If you use the same routine in-line in more than one compilation unit,
put them in a separate file and use the INCLUDE compiler option to
include that file in each compilation unit.
Example
The file procfile contains this procedure, which other compilation units
use in-line:
PROCEDURE x (a,b : integer; VAR c : char) $INLINE$;
BEGIN
c := chr(a+b);
END;
The following compilation unit uses the procedure x in-line:
PROGRAM prog;
BEGIN
.
.
.
$INCLUDE 'procfile'$
.
.
.
END.
The INLINE compiler option is equivalent to the INLINE procedure option.
The procedure option requires STANDARD_LEVEL 'EXT_MODCAL'; the compiler
option does not.
You cannot debug inline routines with a symbolic debugger. You can debug
routines that call inline routines, but the inlined code is treated as a
single statement and skipped. Breakpoints can only be set before and
after the inlined code.
INTR_NAME
INTR_NAME is an HP Pascal Option.
The INTR_NAME compiler option specifies the name to be returned for an
intrinsic. It is only valid when used in conjunction with the BUILDINT
compiler option.
Syntax
$INTR_NAME
string_literal
$
Parameter
string_literal
Specifies the return name of the intrinsic to be entered in
the intrinsic file. Lowercase and uppercase are
significant.
Default None.
Location Heading.
If an entry in the intrinsic file specifies INTR_NAME when it is added to
the intrinsic file, the name
string_literal
is returned by the intrinsic
file search mechanism, and is used in calls to the intrinsic routine.