Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A newbie question in writing codes in a free F77

Status
Not open for further replies.

mach04

Technical User
Jun 21, 2004
237
DK
The interface of this free software is very different from the one I have seen in my college (F95). You can easily start writing your code just like writing this message, but it seems different for this free appz. Appreciate any help on how to wrtie the codes so the F77 can run and debug it, a FOR-file.
thanks in advance
 
Which version of Fortran are you using?

I know that in Compaq VF, for instance, you can specify whether you want to write a program in "Fortran Free Format" (the newer one) or in "Fortran Fixed Format" (backwards compatible to some extent) when you create the file.

kaiyote
 
You could try getting g95 from You may also need to download cygwin.

There are a lot of features in F95 that do not exist in either F90 or F77. Dynamic storage allocation etc are unknown in F77.

It depends on whether the college is using F95 to teach you programming or as a tool to get results. If it is using it as a tool then anything will do - even C. If it is using it to teach programming then you might be better off trying G95: it is a close to F95 as you're going to get for a freebie.
 
Thanks for the tips. We are using the F95 to learn for programming but we were told we can practice programming at home by using a F77 and later on run them on F95 at college. But this free program seems to lack an editor there is no where you can write your codes on it, it asks for a FOR-file.
 
Use Notepad to write .FOR files - what's a problem?..
 
Thanks for the tips, I have finally found a compiler which does all the things without any problem for me, its FORCE compiler. The one from salfored is very confusing, unlike Force which is easy to start work with. So if you need a good compiler I strongly suggest it. I am not sure whether the GNU works on Windows I might give it a try later.
 
Yes - Force works on windows too. Only problem is that if you are used to something like MS Visual studio, all the F-keys have different functions.

Note also, not all the keywords are highlighted. eg block in block data isn't highlighted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top