There are five classes of intrinsic procedures: inquiry functions, elemental procedures, system inquiry functions, transformational functions, and subroutines.
The result of an inquiry function depends on the properties of its principal argument, not on the value of the argument. The value of the argument does not have to be defined.
|
|
|
Notes:
Some intrinsic functions and one intrinsic subroutine (MVBITS) are elemental. That is, they can be specified for scalar arguments, but also accept arguments that are arrays.
If all arguments are scalar, the result is a scalar.
If any argument is an array, all INTENT(OUT) and INTENT(INOUT) arguments must be arrays of the same shape, and the remaining arguments must be conformable with them.
The shape of the result is the shape of the argument with the greatest rank. The elements of the result are the same as if the function was applied individually to the corresponding elements of each argument.
|
|
|
Notes:
+-------------------------------IBM Extension--------------------------------+
+-------------------------------IBM Extension--------------------------------+
+----------------------------End of IBM Extension----------------------------+
The system inquiry functions may be used in restricted expressions. They cannot be used in initialization expressions, nor can they be passed as actual arguments.
+----------------------------End of IBM Extension----------------------------+
All other intrinsic functions are classified as transformational functions. They generally accept array arguments and return array results that depend on the values of elements in the argument arrays.
|
|
|
Notes:
For background information on arrays, see Chapter 4, Array Concepts.
Some intrinsic procedures are subroutines. They perform a variety of tasks.
|
|
|
Notes: