Okay. So I just discovered that in Fortran, functions must be in a seperate file and not the "program" file, however subroutines can be in the "program" file, although they are called "subroutines" for a reason.

In that they are routines other than the main routine which is the "program HelloWorld" (for example).

Reply via email to