RosettaCodeData/Task/Higher-order-functions/Fortran/higher-order-functions-1.f

8 lines
149 B
FortranFixed
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
FUNCTION FUNC3(FUNC1, FUNC2, x, y)
REAL, EXTERNAL :: FUNC1, FUNC2
REAL :: FUNC3
REAL :: x, y
FUNC3 = FUNC1(x) * FUNC2(y)
END FUNCTION FUNC3