<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / REXLANG include file]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=300&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=300"/>
	<updated>2016-12-21T09:14:32Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=300</id>
	<entry>
		<title type="html"><![CDATA[Re: REXLANG include file]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1319#p1319"/>
		<content type="html"><![CDATA[<p>Hi,<br />thanks for your advice, I will try it.</p>]]></content>
		<author>
			<name><![CDATA[bodie]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=127</uri>
		</author>
		<updated>2016-12-21T09:14:32Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1319#p1319</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REXLANG include file]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1304#p1304"/>
		<content type="html"><![CDATA[<p>Hi bodie,</p><p>thank you for your question. In general, it is possible to include other C files in Rexlang.<br />However, including header files (&quot;.h&quot;) is not supported. It means that you have to include only source files (&quot;.c&quot;) with declaration inside.</p><p>Hope it helps. If you require any further information, let me know.</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2016-12-20T09:12:20Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1304#p1304</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[REXLANG include file]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1299#p1299"/>
		<content type="html"><![CDATA[<p>Hello,<br />can I ask for the way, how to include in RexLang srcfile.c next file with some functions, if it is possible?<br />I try the same as in C-programs:</p><p>srcfile.c</p><div class="codebox"><pre><code>#define VAL1 10

#include &quot;secti.h&quot;

double output(0) firstoutput; 
double output(1) secondoutput;

int count = 0;

long init(void)
{	
	return 0;
}

long main(void)
{
	
	firstoutput = soucet(count, VAL1);
	secondoutput = VAL1;
	
	return 0;
}

long exit(void)
{
	return 0;
}</code></pre></div><p>secti.h</p><div class="codebox"><pre><code>#ifndef SECTI_H_
#define SECTI_H_

int soucet(int a, int b);

#endif /* SECTI_H_ */</code></pre></div><p>secti.c</p><div class="codebox"><pre><code>#include &quot;secti.h&quot;

int soucet(int a, int b){
	return (a + b);
}</code></pre></div><p>But the compilation ends with this messahe:</p><div class="quotebox"><blockquote><div><p>Error compiling file &#039;secti.h&#039; (line 4): syntax error<br />srcfile.c [3] warning: comment or #ifdef not end in current file<br /> [0] warning: comment or #ifdef not end in current file<br />Error 125: The configuration validation error occured in:<br />Error 126:&#160; &#160; &#160;Validation error -220 (REXLANG compilation error) in the pin &#039;rex3_proces.REXLANG:srcname&#039;</p></div></blockquote></div><br /><p>Thanks for help.</p>]]></content>
		<author>
			<name><![CDATA[bodie]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=127</uri>
		</author>
		<updated>2016-12-19T21:35:29Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1299#p1299</id>
	</entry>
</feed>
