HP 3000 Manuals

INTR_NAME [ HP Pascal/iX Reference Manual ] MPE/iX 5.0 Documentation


HP Pascal/iX Reference Manual

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_literalSpecifies 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.

Actually, the intrinsic search mechanism searches for the intrinsic name
(other than specified by INTR_NAME) or the alias (if specified by the
ALIAS compiler option), but it returns the name specified by INTR_NAME.

Example 

     $BUILDINT 'MYINTR'$
     PROGRAM Show_Buildint;

        PROCEDURE Proc2 (p1 : Boolean;
                         p2 : integer;
                         p3 : real
                        );

        $ALIAS 'proc2alias'$
        $INTR_NAME 'proc2returnname'$
        EXTERNAL;

     BEGIN
     END.

The intrinsic file search mechanism searches for proc2alias, but returns
proc2returnname.



MPE/iX 5.0 Documentation