RESULT clause
Applies to: fortran
A Fortran RESULT clause names the return variable of a function, avoiding ambiguity with the function name.
function norm(x) result(r)
real :: r
end function
See also: function-fortran
Applies to: fortran
A Fortran RESULT clause names the return variable of a function, avoiding ambiguity with the function name.
function norm(x) result(r)
real :: r
end function
See also: function-fortran