HP 3000 Manuals

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


HP Pascal/iX Reference Manual

EXTNADDR 

EXTNADDR is a System Programming Option.

The EXTNADDR compiler option specifies that a pointer type or pointer
variable is a long pointer, and a reference parameter is a long address.

Syntax 

     $EXTNADDR$

Default       Not applicable.

Location      In a pointer type or variable declaration, between ^ or @
              and the type name, or in a parameter list, between VAR,
              ANYVAR, or READONLY and the following parameter name.

Example 

     TYPE
        RecType = RECORD
                     F1 : INTEGER;
                     F2 : CHAR;
                  END;
        ExtRecType = ^$EXTNADDR$ RecType;
        IntPtrType = ^INTEGER;
        ExtPtrType = ^$EXTNADDR$ integer;
     VAR
        ExtVar : ^$EXTNADDR$ integer;  {cannot be a parameter to new}
        ExtP1,
        ExtP2  : ExtPtrType;
        IntP   : IntPtrType;
        RecP   : ExtRecType;

     PROCEDURE ExtProc (VAR $EXTNADDR$ Parm1,Parm2 : IntPtrType);

     PROCEDURE ExtProc2 (VAR $EXTNADDR$ Parm3 : INTEGER;
                         VAR Parm4 : INTEGER;
                             Parm5 : INTEGER);



MPE/iX 5.0 Documentation