<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - help : io.open can't find file]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=706</link>
		<description><![CDATA[The most recent posts in help : io.open can't find file.]]></description>
		<lastBuildDate>Wed, 17 Jul 2013 09:38:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: help : io.open can't find file]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4418#p4418</link>
			<description><![CDATA[<p>Ah, so it is in binary folder. Never thought about it. Didn&#039;t find the topic either even though I&#039;ve been reading some of the post.</p><p>Well, the idea was to read text file that store object to clone, position and rotation and clone those object and put them to right place. <br />Reading text file is done, but cloning the object seems to be another challenge, especially since this is my first time with lua</p><p>I&#039;m going to dig more, if any of you have suggestion on how to do that, please reply</p><p>Thanks</p><p>[Edit]</p><p>I manage to do it using <br />table.insert(cloneList, #cloneList + 1, getClone(object))</p><p>it was actually nice and easy. This is much better than early my expectation</p>]]></description>
			<author><![CDATA[dummy@example.com (penguinroad)]]></author>
			<pubDate>Wed, 17 Jul 2013 09:38:59 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4418#p4418</guid>
		</item>
		<item>
			<title><![CDATA[Re: help : io.open can't find file]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4417#p4417</link>
			<description><![CDATA[<p>There is a topic about it : <a href="http://forum.maratis3d.com/viewtopic.php?id=662">http://forum.maratis3d.com/viewtopic.php?id=662</a></p><p>basically in :<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;/Maratis/Bin&quot; for unpublished projects<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;/MyProject/published&quot; for published projects</p><p>I&#039;ll add something to simplify this in the future, but in the current version the file need to be in the binary directory.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 17 Jul 2013 07:38:25 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4417#p4417</guid>
		</item>
		<item>
			<title><![CDATA[help : io.open can't find file]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4416#p4416</link>
			<description><![CDATA[<p>I want to use lua to open a text file and read the lines<br />my code goes like this</p><p>file = assert(io.open(&quot;textfile.txt&quot;, &quot;r&quot;))<br />for line in file:lines() do <br />&nbsp; print(line) <br />end<br />file:close()</p><p>yet I got following error<br />[string &quot;function split(pString, pPattern)...&quot;]:42: textfile.txt: No such file or<br />directory</p><p>I try to put textfile.txt in any logical directory but it can&#039;t find it. Where should it be?<br />I&#039;m on Linux/Ubuntu btw</p><p>Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (penguinroad)]]></author>
			<pubDate>Wed, 17 Jul 2013 02:49:49 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4416#p4416</guid>
		</item>
	</channel>
</rss>
