Nope, there can only be one main program. If you need to call another "main" program, you first need to turn it into a subroutine or function.
Fortran is not an interpreted language like tcl, python, or others; it is compiled like C, for example. So, there is no such thing as interactive shell for Fortran.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.