- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I posted this yesterday on a separate thread but may be it was lost there...
I find that syntax coloring etc is lost for files of type .f95 .f03. These were working fine before; I still have these extensions under Tool->Options-> IVF-->General-->free format. But when a file is opened or saved with f95 as extension, it loses syntax coloring.
I uninstalled all previous updates before installing this update.
Abhi
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve
Does this happen because I uninstalled all previous updates to 11.1?
I don't think use of extension is an issue, the problem obviously is that something that was working before is not working now. While, for now, I would be fine with it, unfortunately, the decision on whether to update the compiler version on the company-wide basis does get affected.
As for the extensions, you are right that "non-standard" ones should be avoided. But on some other compilers .f95 is the default for free format (while some others have just .f). I guess .f, .for, .f90, and .f95 have been "commonly" used and hence our usage of .f95. I apologize if I am being too rude in stating this; that's far from my intention. I am just frustrated that I can't give a green to the update.
Sincerely
Abhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Fortran standard does not say anything about the names of source files. When Fortran 90 was implemented, compiler developers needed a way to distinguish fixed-form from free-form and settled on the use of a file type of .f90 as meaning free-form. Other file types in use, such as .f, .for and .ftn, kept their classic meaning as fixed-form. I don't know any compiler that uses .f as meaning free-form.
Unfortunately, some people interpreted .f90 as meaning "Fortran 90" and then decided that if they were using a Fortran 95 compiler that they should rename all their sources .f95. And then we have .f03 and I assume .f08 in the future. I consider this misguided and unfortunate. In hindsight it would have been better to agree on something like .ffr as meaning Fortran free-form.
Nevertheless, we do have methods where users can specify additional file types as meaning fixed-form or free-form source. You are absolutely correct that the VS integration in Update 5 broke the source coloring for user-defined file types. I will report this to the developers and apologize for the inconvenience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jarvus,
I have had a feature request in on that issue for a while, but it seems unlikely to be implemented in the near future. I do strongly recommend using free-form source, and if you must use fixed-form, stick to column 72. I have a general distaste for code that requires language-changing switches to compile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will try it.
One thing that I would like to get clarified is:- Since I had every single upgrade since 11.0, I uninstalled them BEFORE installing update 5. Can that be, somehow, the source of this issue?
Abhi
p.s. Taking liberty to be a bit naughty, Steve, I thought you would be immune to such things as it works one-day and it doesn't the next-day... :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suppose it's possible - however, I DID see it and I had not uninstalled the old versions.
Please do this for me - open "regedit.exe". Click on the + symbols next to the following names, in order: HKEY_CURRENT_USER, Software, Microsoft, Visual Studio, 9.0, Intel Fortran. (If you are using VS2005, replace 9.0 with 8.0.) Click on "111". From the File menu, select Export and export the 111 branch to a .reg file. Zip the file and attach it to a reply here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve
Attached is the zip file. Sorry for the delay.
In the path you mentioned, I found that there is first VFToolOpt under Intel Fortran. In the VFTooOpt, I can see subfolders 100, 101, 110, 111 i.e. all version since 10. Each folder also shows all the subversions that I had installed.
Abhi

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page