<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — go to label]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=853</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=853&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in go to label.]]></description>
		<lastBuildDate>Tue, 26 Apr 2022 01:55:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: go to label]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3914#p3914</link>
			<description><![CDATA[<p>Thanks Jeff. Sure appreciate it.</p>]]></description>
			<author><![CDATA[null@example.com (jackmitchener)]]></author>
			<pubDate>Tue, 26 Apr 2022 01:55:22 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3914#p3914</guid>
		</item>
		<item>
			<title><![CDATA[Re: go to label]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3913#p3913</link>
			<description><![CDATA[<p>Your code actually produces two errors, and the important one is actually causing the error you&#039;re reporting.&nbsp; The line with label <em>17</em> is not formatted correctly.&nbsp; The compiler actually does produce an error:</p><div class="codebox"><pre><code>going.f90:19:13:

   19 | 17    PRINT*(I1,f3.0),i, summ
      |             1
Error: Expected comma in I/O list at (1)</code></pre></div><p>You actually need to fix this line first.&nbsp; I would personally rewrite it as:</p><div class="codebox"><pre><code>17    Write(*, &#039;(I1,f3.0)&#039;) i, summ</code></pre></div><p>The format you had used isn&#039;t valid Fortran, at least in the modern, standards-compliant sense.&nbsp; After I change it to what I&#039;ve suggested, it works fine.&nbsp; The label couldn&#039;t be found because it couldn&#039;t successfully compile the labeled line.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 25 Apr 2022 19:36:00 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3913#p3913</guid>
		</item>
		<item>
			<title><![CDATA[Re: go to label]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3912#p3912</link>
			<description><![CDATA[<p>!Using f90<br />program helloworld&nbsp; &nbsp;<br />&nbsp; &nbsp; implicit none&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; integer i, row, col <br />&nbsp; &nbsp; real a(9), summ<br />&nbsp; &nbsp; a=0&nbsp; &nbsp;<br />&nbsp; &nbsp; summ=0<br />&nbsp; &nbsp; row =0<br />&nbsp; &nbsp; col =0<br />&nbsp; &nbsp; print*,&quot;Hello World&quot;&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; read*, a<br />&nbsp; &nbsp; Print*,a<br />&nbsp; &nbsp; DO i=0, 8<br />&nbsp; &nbsp; &nbsp; col= REAL(i) <br />&nbsp; &nbsp; &nbsp; if ((i .GT. 0).AND.(a(i) .EQ.0 )) go to 17&nbsp; ! This is the problem line.<br />&nbsp; &nbsp; &nbsp; summ = summ + 2**i<br />17&nbsp; &nbsp; PRINT*(I1,f3.0),i, summ<br />&nbsp; &nbsp; end do<br />end program helloworld</p>]]></description>
			<author><![CDATA[null@example.com (jackmitchener)]]></author>
			<pubDate>Mon, 25 Apr 2022 14:25:07 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3912#p3912</guid>
		</item>
		<item>
			<title><![CDATA[Re: go to label]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3911#p3911</link>
			<description><![CDATA[<div class="quotebox"><cite>jackmitchener wrote:</cite><blockquote><p>... then put &quot;30&quot; where the line number would have been (if line#s were shown) then<br />program will not build.&nbsp; I get &quot;Error. 30 not defined.&quot;</p></blockquote></div><p>Can you provide a little more context?&nbsp; It seems that the issue is how the numbered label is defined, and you didn&#039;t provide the actual text of said line.&nbsp; I&#039;m not sure what &quot;<em>put &quot;30&quot; where the line number would have been</em>&quot; means.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 25 Apr 2022 12:36:46 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3911#p3911</guid>
		</item>
		<item>
			<title><![CDATA[Re: go to label]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3910#p3910</link>
			<description><![CDATA[<p>Is that your exact code? Shouldn&#039;t &quot;go to&quot; be one word? GOTO 30<br />What variety of Fortran are you using?</p><p>I&#039;m not asking what version of SimplyFortran. I mean are you using .F95 or some other.</p>]]></description>
			<author><![CDATA[null@example.com (designer)]]></author>
			<pubDate>Sun, 24 Apr 2022 20:41:24 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3910#p3910</guid>
		</item>
		<item>
			<title><![CDATA[go to label]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3909#p3909</link>
			<description><![CDATA[<p>when I write:&nbsp; if (foo .GT. 0) go to 30<br />and then put &quot;30&quot; where the line number would have been (if line#s were shown) then<br />program will not build.&nbsp; I get &quot;Error. 30 not defined.&quot;</p><p>How do I get a line label to work?</p>]]></description>
			<author><![CDATA[null@example.com (jackmitchener)]]></author>
			<pubDate>Sun, 24 Apr 2022 02:54:12 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3909#p3909</guid>
		</item>
	</channel>
</rss>
