<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Prompt to Save]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=961&amp;type=atom" />
	<updated>2024-09-27T00:09:47Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=961</id>
		<entry>
			<title type="html"><![CDATA[Re: Prompt to Save]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4377#p4377" />
			<content type="html"><![CDATA[<p>One last thing: if you&#039;re ever in a predicament like you&#039;ve described, take a quick screenshot of anything you might think is pertinent, such as a warning that popped up, the current state of Simply Fortran, etc., and send it to <strong>support@approximatrix.com</strong>.&nbsp; Sometimes looking at what&#039;s wrong can be a lot easier for both of us than a description.&nbsp; I&#039;m happy to help whenever I can!</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2024-09-27T00:09:47Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4377#p4377</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Prompt to Save]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4376#p4376" />
			<content type="html"><![CDATA[<p>I think you may have misunderstood me with the <em>.prj</em> extension.&nbsp; When you save a project, it saves as a <em>.prj</em> file that references your Fortran source files (probably using <em>.f</em> or, hopefully, <em>.f90</em> extensions).&nbsp; That way, if you have multiple Fortran source files, all within the same project, Simply Fortran will compile them into a single executable.&nbsp; You have to explicitly add files to a project, though, which you might not have done.&nbsp; Did you see a long warning about no source files present?</p><p>The Project Outline panel will list the files in the current project.&nbsp; A project can only have a single <strong>program</strong> in it.&nbsp; In other words, a project can only contain one Fortran source file that has a <strong>program</strong> defined or it won&#039;t build.&nbsp; But you do have to add files to a project, either in the Project menu or by right-clicking on a editor tab and selecting &quot;Add &lt;whatever&gt; to Project.&quot;</p><p>So that&#039;s my explanation of projects.</p><p>Now if your Fortran code is all contained in a single Fortran source file, there&#039;s a very good chance you do not need to use projects at all.&nbsp; Simply Fortran will try to work with you on this front, but the most reliable workflow is to use &quot;Compile and Run Current File&quot; in the Build menu if you want to avoid projects.&nbsp; A lot of users do this.</p><p>Simply Fortran, though, does make some guesses if you just click the Build icon in the toolbar or select Build Project in the Build menu when a project isn&#039;t defined.&nbsp; It tries to figure out if you mean the current file that is present in the editor.&nbsp; However, if you have more than one file open, things can get confusing for it.&nbsp; It might try to compile something you weren&#039;t expecting.&nbsp; It may produce a warning about an unsaved file if <em>any</em> file, even one that isn&#039;t facing you at the moment, isn&#039;t saved.&nbsp; It tries, but sometimes it fails.&nbsp; That&#039;s why I&#039;d say using &quot;Compile and Run Current File&quot; is your best bet.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2024-09-27T00:06:49Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4376#p4376</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Prompt to Save]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4375#p4375" />
			<content type="html"><![CDATA[<p>Hi Jeff,</p><p>Thanks for your response.</p><p>So, I tried to save with the .prj extension and became worse. I compiled a previous code I had done that worked but after I used the .prj extension that code did not even work any longer.</p><p>My Mac is updated to the latest macOS Sequoia 15.0 so I thought I&#039;d rather close simply fortran and reopen everything afresh, and when I did, the code saved, the compilation worked and I was able to run the code.</p>]]></content>
			<author>
				<name><![CDATA[pat]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=4253</uri>
			</author>
			<updated>2024-09-26T18:39:24Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4375#p4375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Prompt to Save]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4374#p4374" />
			<content type="html"><![CDATA[<p>Is the popup asking you to save a project file with the <strong>.prj</strong> extension?&nbsp; You need to use &quot;Save Project&quot; in the <em>Project</em> menu in that case.&nbsp; However, that popup should just be a warning, asking if you want to proceed anyway rather than cancel the attempt to build.</p><p>The warning about an unsaved project should probably be a bit more explicit and allow saving immediately, though.&nbsp; Simply Fortran isn&#039;t working nicely in this case.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2024-09-26T11:05:18Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4374#p4374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Prompt to Save]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4373#p4373" />
			<content type="html"><![CDATA[<p>What do you do when you open a code in simply fortran, save and try to build but you keep getting a prompt to save?</p><p>I have saved the file over and over again but it won&#039;t compile and keeps popping up to save project before building.</p><br /><p>Kindly help, I have an assignment to submit</p>]]></content>
			<author>
				<name><![CDATA[pat]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=4253</uri>
			</author>
			<updated>2024-09-26T08:05:32Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4373#p4373</id>
		</entry>
</feed>
