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


Invoking functions with returned values

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

Both C++ and Fortran can invoke the other language as a function that returns a value: in C++, this would be a function that returns something other than void; in Fortran, the equivalent of a function is a routine that begins with a FUNCTION statement. Only certain data types, however, can be used as function return values. See Table 1 for a list of the supported data types that can be used as function return values.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014