Re: NEWBIE QUESTION



Duane Bozarth wrote:
| Jugoslav Dujic wrote:
||
|| Rich wrote:
||| Thanks for the help and the welcome. I am working with Compaq Visual
||| Fortran 6.6a inside developer studio. I had the .F90 and changed it to
||| .f and was able to retain "C" in column one rather than replace with
||| "!". I could not just rename but had to create a new workspace and new
||| project with the correct properties. Possibly overkill, but I could
||| find no way to change those properties. (Yes, I am new to the
||| develepor studio also, and I will likely be moving over to .NET and a
||| different Fortran compiler in the future.)
||
|| You can't change the properties of an existing file within the project,
|| but you can:
| ...
|
| You don't need to change the properties of the file itself, simply apply
| the compiler options to the specific file(s) or the project
| generically. This is done by either selecting individual files or the
| project in the source tree in the project settings dialog.


Learn something new every day... I didn't know it was possible in this way.

However, changing the source form for the extension is IMO a recipe for
confusion. It's easier to conform to the de facto standard (.f90 for
freeform, .for or .f for fixed-form) than to port to other compilers and
fiddle with compiler options. And this is only the most trivial example.

--
Jugoslav
___________
www.xeffort.com

Please reply to the newsgroup.
You can find my real e-mail on my home page above.
.



Relevant Pages

  • Re: Initialising of allocatable character arrays in f90/f95
    ... It isn't true of the Fortran language - period. ... My use of the term "negative indefinite", ... systems (and also assumes particular compiler options - or maybe it was ...
    (comp.lang.fortran)
  • Most efficient way of vectorize the following code in Fortran?
    ... Just wanted to see if Fortran really gives a huge speedup for my ... Please note that here us is a vector; rho(:) is a column vector, ... also have an inner loop of doing the dot-product. ... compiler options to improve the speed. ...
    (comp.lang.fortran)
  • Re: Creating .so file to call from IDL
    ... call it from an IDL program. ... compiler options to do this? ... You mean a .so (shared object) file from Fortran 90 routines. ...
    (comp.lang.fortran)
  • Re: survey: Fortran on VMS
    ... I have Compaq Fortran V7.5-2630-48C8L. ... I'll probably be upgrading VMS ... features (as opposed to bug fixes, new compiler options) does it have ...
    (comp.lang.fortran)