<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — why does one function need an Implicit type and another not?]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=867</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=867&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in why does one function need an Implicit type and another not?.]]></description>
		<lastBuildDate>Wed, 07 Sep 2022 14:52:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: why does one function need an Implicit type and another not?]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3964#p3964</link>
			<description><![CDATA[<p>Do you currently have a project with multiple Fortran source files?&nbsp; There aren&#039;t multiple <strong>program</strong> declarations in this single file, but, if you have a project with multiple Fortran files, it is almost certainly compiling everything and encountering two <strong>program</strong>s.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 07 Sep 2022 14:52:16 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3964#p3964</guid>
		</item>
		<item>
			<title><![CDATA[why does one function need an Implicit type and another not?]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3963#p3963</link>
			<description><![CDATA[<p>Trying to draw numbers on a graphic window.<br />First function (Eight) works fine. But when I added the second function, I get a failed compile because:<br />&quot;Two Main programs at 1 and 2.&quot;&nbsp; What&#039;s up?</p><p><strong>program main</strong><br />use appgraphics<br />implicit none<br />&nbsp; &nbsp; integer::window <br />&nbsp; &nbsp; integer seven, eight, res<br />&nbsp; &nbsp; window = initwindow(800, 600)<br />&nbsp; &nbsp; res = eight(50,300,10) <br />&nbsp; &nbsp; res = seven(65,300,10)<br />&nbsp; &nbsp; call loop()&nbsp; &nbsp;<br />&nbsp; &nbsp; call closewindow(window)<br />end program main</p><p>integer <strong>function eight(x,y,r)</strong><br />&nbsp; &nbsp; use appgraphics<br />&nbsp; &nbsp; !Draws a figure eight of size r at start point (x,y).<br />&nbsp; &nbsp; integer x,y,r&nbsp; !r is the radius.<br />&nbsp; &nbsp; call circle(x+r,y+r,r)<br />&nbsp; &nbsp; call circle(x+r,y+3*r,r)<br />end function eight</p><p>integer <strong>function seven(x,y,s)</strong><br />&nbsp; &nbsp; use appgraphics<br />&nbsp; &nbsp; integer x, y, s<br />&nbsp; &nbsp; call bar(x,y,x+s,y+s)<br />end function seven</p>]]></description>
			<author><![CDATA[null@example.com (jackmitchener)]]></author>
			<pubDate>Wed, 07 Sep 2022 00:35:32 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3963#p3963</guid>
		</item>
	</channel>
</rss>
