HP 3000 Manuals

Mathematical Functions and Procedures [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

Chapter 2  Mathematical Functions and Procedures 

This chapter describes the mathematical functions and procedures in
alphabetical order.


NOTE The function names ending with a prime (EXTIN', for example) can be called by HP Pascal programs using the ALIAS command with the EXTERNAL or INTRINSIC statements. For example, here is a declaration that uses ALIAS with EXTERNAL: PROCEDURE EXTIN $ALIAS 'EXTIN"' $( ANYVAR charstring : bytearray; VAR stringlen : SHORTINT; decplaces : SHORTINT; datatype : SHORTINT; scale : SHORTINT; delimiters : SHORTINT; ANYVAR result : INTEGER; VAR error : SHORTINT ) EXTERNAL; The next example illustrates the preferred approach of using ALIAS with INTRINSIC: PROCEDURE EXTIN $ALIAS 'EXTIN"'; INTRINSIC; In HP FORTRAN 77/XL, you must declare routine names with a prime, as follows: $ALIAS EXTIN = 'EXTIN"'(%REF, %REF, %VAL, %VAL, %VAL, %VAL, %REF, %REF)"


MPE/iX 5.0 Documentation