Topic: how to compile different version fortran progrm=ams

Hello every one
can some one tell me how to compile f77 modules with f90 modules in sf2.17.

Re: how to compile different version fortran progrm=ams

F90 understands F77.
Therefore, just treat the whole program as if it were F90.

If you're using "MODULES" (as in F90), that's fine.  Just follow the F90 rules.

If you are putting anything in the modules which you formerly had as COMMON blocks, omit the COMMON declarations.
---
J.

Re: how to compile different version fortran progrm=ams

Khurram,

What exactly seems to be the problem?  If you're just trying to compile some Fortran 77 code, you should be able to just open it in Simply Fortran and hit "Build Now!" in the Build menu.  Are you encountering any issues?

Be careful about using the word "module," though.  "Module" is a keyword in Fortran 90 and higher, like John said, and it refers to a very specific Fortran construct.  It shouldn't be used interchangeably with "file" for instance.

Jeff Armstrong
Approximatrix, LLC