Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Saving Files question

George_Kardomateas
493 Views

I have the following question, which might seem simple. Is it possible (through some Settings) to shield the Source files from being changed once the file is saved with a different name?

For example, if I have in my Source list the file "file1" and, after I do some editing, I save it as "file 2", it changes the "file1" in the Source list as "file2" as well, i.e. I no longer have the "file1" in my Source list. This is inconvenient if I need to bring up the "file1" again for editing of different kind.

Up to now I was using Digital Visual Fortran and this was not a problem, the Source list was shielded. Is is possible to achieve the same with the Intel Fortran through some Settings?

0 Kudos
2 Replies
Paul_Curtis
Valued Contributor I
493 Views
To create a new (edited) file based on an existing file, use the VS menu (File->New->File) to add a new .f90 file, which will show up as "source1.f90" and will be empty and not yet be associated with any project. Content from other files can be pasted into source1, which you can save+rename using "save as".
0 Kudos
Steven_L_Intel1
Employee
493 Views
This seems to be a Visual Studio feature - it annoys me too. I have not located a way to disable it.
0 Kudos
Reply