I want to use an external file functions.f that has a number of routines/functions into my code maincode.f90 (without copying it under my code with the command "contains").
I have used the following code but it doesnt seem to work.
Which is the appropriate syntax?
program maincode
EXTERNAL functions
x = function(5)
end program
I have used the following code but it doesnt seem to work.
Which is the appropriate syntax?
program maincode
EXTERNAL functions
x = function(5)
end program