Intel® Fortran Compiler 18.0 Developer Guide and Reference

PXFCALLSUBHANDLE

POSIX Subroutine: Calls the associated subroutine.

Module

USE IFPOSIX

CALL PXFCALLSUBHANDLE (jhandle2,ival,ierror)

jhandle2

(Input) INTEGER(4). A handle to the subroutine.

ival

(Input) INTEGER(4). The argument to the subroutine.

ierror

(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

The PXFCALLSUBHANDLE subroutine, when given a subroutine handle, calls the associated subroutine.

PXFGETSUBHANDLE should be used to obtain a subroutine handle.

NOTE

The subroutine cannot be a function, an intrinsic, or an entry point, and must be defined with exactly one integer argument.

See Also