It&#39;s funny how small victories over oneself can make one&#39;s day! <br>That&#39;s alright, i &#39;ve just found out that all i need to do i send the [write( message last. <br>Sorry...<br><br>Pierre<br><br><div class="gmail_quote">
2010/7/18 Pierre Massat <span dir="ltr">&lt;<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello List,<br><br>I badly need your help for i&#39;m going totally nuts right now. I m trying to use a [textfile] to save a series of values. I have 16 lines of 12 integers to save each time (each txt file should only have 16 lines by 12 numbers). <br>

The way i &#39;m going about performing this awfully difficult task is as follows:<br>1) I first send a [write C:/....txt( to [texfile]<br>2) Then i send a [clear( to [textfile]<br>3) And finally i send my 16 lines using a [add 0 0 0 0 0 0.....0( <br>

<br>Now, the issue is that i know for sure that what comes out of the [add 0 0 0 0( is right (i check with a print in the console), yet [textfile] freaks out somehow and consistently saves the previous list to the current txt file. Say, i have 16 lines of 0&#39;s. If i write to textfile1.txt, i will not get 16 lines of 0&#39;s, even though that&#39;s what i&#39;ll have printed in the console. Now if i change this to 16 lines of 1&#39;s, and if i write to textfile2.txt, i will get all 0&#39;s in textfile2.txt, and 1&#39;s in the console. <br>

<br>I just don&#39;t know what&#39;s happening here. I checked that the way i gather the integers to be saved is right. The only solution that i can think of at the moment would be to systematically write to two files, the first of which would be useless. I know there has to be something cleaner. I guess i don&#39;t really understand how [textfile] works!<br>
<font color="#888888">
<br>Pierre<br>
</font></blockquote></div><br>