<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — CHRPAK module usage question]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=252&amp;type=atom" />
	<updated>2013-09-11T11:29:07Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=252</id>
		<entry>
			<title type="html"><![CDATA[Re: CHRPAK module usage question]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=983#p983" />
			<content type="html"><![CDATA[<p>Nope, it only means that in order to call, for example, <em>ch_scrabble_points</em>, you&#039;ll need to have your (sub)program <em>use chrpak</em> first, as I show below:</p><div class="codebox"><pre><code>program scrabble_score
use chrpak
implicit none

character::c

    c = &#039;Q&#039;

   Print *, &quot;The scrabble points for &quot;//c//&quot; are: &quot;, ch_scrabble_points(c)

end program scrabble_score</code></pre></div><p>As long as the flag <strong>-lchrpak</strong> appears in your Linker Flags under Project Options, everything should just work.</p><p>The <strong>chrpak</strong> module is stored in the AddOns directory, which is automatically searched for modules and libraries by default.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-09-11T11:29:07Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=983#p983</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CHRPAK module usage question]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=982#p982" />
			<content type="html"><![CDATA[<p>I&nbsp; note that the documentation for the new, excellent-looking, CHRPAK package, includes the following:</p><p>&nbsp; &nbsp; &nbsp; &quot;This distribution has been updated to place <br />&nbsp; &nbsp; &nbsp; &nbsp; everything in the &quot;chrpak&quot; module.&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; The developer must &quot;use chrpak&quot; rather <br />&nbsp; &nbsp; &nbsp; &nbsp; than just call the subroutines and functions<br />&nbsp; &nbsp; &nbsp; &nbsp; as implied by the homepage.&quot;</p><p>I note that, in order to use CHRPAK, one must &quot;USE&quot; it.</p><p>Does this mean that the entire source or this library will then have to be compiled, linked, loaded. even when only calling a single subroutine from it in the main program code?<br />--- <br />J.</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2013-09-10T23:32:59Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=982#p982</id>
		</entry>
</feed>
