<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — module]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=752&amp;type=atom" />
	<updated>2020-05-25T22:16:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=752</id>
		<entry>
			<title type="html"><![CDATA[Re: module]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3491#p3491" />
			<content type="html"><![CDATA[<p>Thanks Jeff,&nbsp; I followed your instructions and everything is ok</p>]]></content>
			<author>
				<name><![CDATA[syoung]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3914</uri>
			</author>
			<updated>2020-05-25T22:16:32Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3491#p3491</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: module]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3490#p3490" />
			<content type="html"><![CDATA[<p>I think more of the output when compiling would help, but the code sample you provided isn&#039;t a program.&nbsp; Simply Fortran was attempting to compile an executable, but there is no program in that sample.&nbsp; You would probably want to create another Fortran file, add it to your project, and have it &quot;use&quot; your module, such as:</p><div class="codebox"><pre><code>program doublepi
use math_module
implicit none

    Print *, &quot;Pi times two is&quot;, 2*pi

end program doublepi</code></pre></div>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2020-05-25T21:27:11Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3490#p3490</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[module]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3489#p3489" />
			<content type="html"><![CDATA[<p>I&#039;m a relative new user of SF and having problems in compiling a simple module unit. The program is as follows:</p><p>&nbsp; module math_ module<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; implicit none<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; real, public, parameter:: pi = 3.141592<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; real, public, parameter::&nbsp; e = 2.718281<br />&nbsp; end module math_ module</p><p>I hope you can help me. Thanks <br />version f03&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />ERROR: Last command (target.exe) returned bad status</p>]]></content>
			<author>
				<name><![CDATA[syoung]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3914</uri>
			</author>
			<updated>2020-05-25T19:32:47Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3489#p3489</id>
		</entry>
</feed>
