<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Really elementary Fortran stuff]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=538&amp;type=atom" />
	<updated>2016-03-04T21:49:14Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=538</id>
		<entry>
			<title type="html"><![CDATA[Re: Really elementary Fortran stuff]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2415#p2415" />
			<content type="html"><![CDATA[<p>It worked! I sent a subsequent question which I now can&#039;t see, but I have worked out the answer to that one for myself.</p>]]></content>
			<author>
				<name><![CDATA[Old_Fortranaut]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3665</uri>
			</author>
			<updated>2016-03-04T21:49:14Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2415#p2415</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Really elementary Fortran stuff]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2413#p2413" />
			<content type="html"><![CDATA[<p>I think your problem stems from your using the filename <strong>Process.for</strong>.&nbsp; The <strong>.for</strong> extension is reserved for Fortran source code files that are using fixed-format Fortran syntax, meaning code must end before the 72nd column.&nbsp; Your first error is indicating some sort of problem in <strong>Process.for</strong> on line 2, column 72 (hence the &quot;2:72&quot; in the error message), which is why I suspect that is the issue.</p><p>The subsequent read error is probably caused by something not being declared on account of the earlier errors.&nbsp; You have another column-72-related error further down.</p><p>Simply Fortran&#039;s compiler predicts the expected formatting based on file extension.&nbsp; <strong>.for</strong> and <strong>.f</strong> indicate fixed-format files, while <strong>.f90</strong>, <strong>.f95</strong>, <strong>.f03</strong>, and <strong>.f08</strong> indicate newer styled free-format Fortran.</p><p>If you rename your file <strong>Process.f90</strong>, your errors might go away.&nbsp; It would be useful if you continue to see similar errors if you could post some code as well (if possible, of course) so we might decipher the errors.</p><p>Let us know if the renaming suggestion works!</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-04T17:17:09Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2413#p2413</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Really elementary Fortran stuff]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2411#p2411" />
			<content type="html"><![CDATA[<p>I haven&#039;t done any Fortran programming for nearly 30 years apart from a brief flurry about 4 years ago when I found a free Fortran 90 compiler online. It doesn&#039;t work with a 64-bit processor so SimplyFortran seems like the answer to my needs.</p><p>I&#039;m attempting to build a program that compiled and ran satisfactorily in Fortran 90 but it&#039;s giving me the following errors. For this first one, I can&#039;t even tell which line of code it&#039;s referring to: <br />Compiling ..\..\..\..\Documents\Simply Fortran\Process.for<br />..\..\..\..\Documents\Simply Fortran\Process.for:2:72: Error: Invalid character in name at (1)</p><p>For the second, all these arrays were dimensioned without an error message:<br />read (77,*,end=1000) utme(i),utmn(i),var(i)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1<br />Error: Syntax error in READ statement at (1)<br />..\..\..\..\Documents\Simply Fortran\Process.for:47:72: Error: Unexpected STATEMENT FUNCTION statement at (1)<br />..\..\..\..\Documents\Simply Fortran\Process.for:70:27:</p><p>Does anyone know what might be wrong? Thanks<br />Failing that, can anyone recommend a primer or online course so I don&#039;t have to ask so many of these elementary questions?</p>]]></content>
			<author>
				<name><![CDATA[Old_Fortranaut]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3665</uri>
			</author>
			<updated>2016-03-04T15:29:26Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2411#p2411</id>
		</entry>
</feed>
