- #1
autobot.d
- 68
- 0
So I am making a module to run in the main program. The module contains a subroutine and several functions. I want to call one of the functions into the subroutine but it is not getting recognized. I am just doing
Real :: fct %fct is the function name that returns a real value
but when I try to use the function i get the error
Error: Unclassifiable statement at (1)
I also tried
Real, external :: fct
but the same problem occurs.
Real :: fct %fct is the function name that returns a real value
but when I try to use the function i get the error
Error: Unclassifiable statement at (1)
I also tried
Real, external :: fct
but the same problem occurs.