Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public
Document Table of Contents

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