z/OS Language Environment Writing Interlanguage Communication Applications
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


32-bit signed binary integer

z/OS Language Environment Writing Interlanguage Communication Applications
SA38-0684-00

Sample Fortran usage PL/I Function
INTEGER*4 X, Y, F2PP32I
X = 5
Y = F2PP32I(X)
PRINT *,
1  'VALUE RETURNED TO FORTRAN:', Y
END
F2PP32I: PROC (X) OPTIONS(FORTRAN)
      RETURNS(FIXED BIN(31));
  DCL X       FIXED BIN(31);
  PUT SKIP
      LIST('PL/I ARG VALUE:', X);
  RETURN (X);
END F2PP32I;
 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014