HP 3000 Manuals

The FNUM Procedure [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

The FNUM Procedure 

Occasionally you might want to use MPE/iX intrinsics to perform I/O
directly.  You can intermix FORTRAN I/O and intrinsic I/O to the same
file by using the FNUM procedure.

The FNUM procedure can be called from an HP FORTRAN 77 program as
follows:

     i = FNUM(unit)

----------------------------------------------------------------------------------------------
|              |                                                 |                           |
|     Item     |               Description/Default               |       Restrictions        |
|              |                                                 |                           |
----------------------------------------------------------------------------------------------
|              |                                                 |                           |
| unit         | Positive integer (INTEGER*2 or INTEGER*4) that  | Must be nonnegative.      |
|              | specifies the file table entry for which the    |                           |
|              | MPE/iX system file is to be extracted.          |                           |
|              |                                                 |                           |
----------------------------------------------------------------------------------------------

Refer to the HP FORTRAN 77/iX Programmer's Guide for an example of using
the FNUM function.



MPE/iX 5.0 Documentation