<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — array constructor syntax error]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=409&amp;type=atom" />
	<updated>2014-12-31T16:17:54Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=409</id>
		<entry>
			<title type="html"><![CDATA[Re: array constructor syntax error]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1753#p1753" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Brian wrote:</cite><blockquote><p> ... I also removed the space after the &quot;/&quot; before compiling so that the end of the array initialization then read &quot;...0.29D0 /).</p></blockquote></div><p>I thought so.</p><p>The Lahey compiler is Excellent but was incorrect to allow /&nbsp; &nbsp;) as a delimiter&nbsp; without an error.</p>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2014-12-31T16:17:54Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1753#p1753</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: array constructor syntax error]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1752#p1752" />
			<content type="html"><![CDATA[<p>David, thanks for clarifying this for me.&nbsp; I should have noted that I also removed the space after the &quot;/&quot; before compiling so that the end of the array initialization then read &quot;...0.29D0 /).&quot;&nbsp; Actually I had originally placed that space inadvertently, but the compiler that I&#039;d been using previously (LF95) allowed the syntax error.</p>]]></content>
			<author>
				<name><![CDATA[Brian]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3598</uri>
			</author>
			<updated>2014-12-31T15:13:03Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1752#p1752</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: array constructor syntax error]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1748#p1748" />
			<content type="html"><![CDATA[<p>Spaces are now significant in Fortran (whereas they were not significant in Fortran 77).</p><p>The (/ and /) are tokens that must <span class="bbu">not</span> be split by spaces. In the image you show the error is due to the presence of the space between / and ). The fact you have no space before the / doesn&#039;t matter though.</p><p>You can use [ and ] instead of (/ and /) in Fortran 2003 onwards.</p>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2014-12-31T11:13:12Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1748#p1748</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: array constructor syntax error]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1747#p1747" />
			<content type="html"><![CDATA[<p>Ok, I think I solved my problem.&nbsp; After I placed a space before the &quot;/&quot; at the end of the array constructor, I was able to compile without error.&nbsp; I still don&#039;t understand why the presence or absence of that space would make any difference, though.</p>]]></content>
			<author>
				<name><![CDATA[Brian]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3598</uri>
			</author>
			<updated>2014-12-31T02:12:27Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1747#p1747</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[array constructor syntax error]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1746#p1746" />
			<content type="html"><![CDATA[<p>I am completely new to Simply Fortran and am trying an evaluation copy of the software.&nbsp; In attempting to compile a program that I&#039;ve written, I&#039;ve run into an apparent syntax error in an array initialization.&nbsp; However, I don&#039;t see where the error is.&nbsp; I&#039;ve attached an image of the offending code with the error message included.&nbsp; Can someone point me in the right direction?</p><p><span class="postimg"><img src="http://imageshack.com/a/img540/5885/fzD8K4.png" alt="SF syntax error" /></span></p>]]></content>
			<author>
				<name><![CDATA[Brian]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3598</uri>
			</author>
			<updated>2014-12-31T01:30:35Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1746#p1746</id>
		</entry>
</feed>
