<div dir="ltr"><div><br></div><br><div class="gmail_extra"><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I guess, your textfile seems to contain only one (or several) line<br>
with floats.<br>
A better way could be :<br>
<span class=""><br></span></blockquote><div>yes , the textfiles were saved through array<br>the data was originally a space delimited list of floats sent from javascript->JAVA->TCP->FUDI->[array set]<br>then saved by the [write filename( message to [define array arrayname]<br><br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">
[read filename, rewind, bang(<br>
|<br>
[textfile]<br>
|<br>
[t l l]<br>
|     |<br>
</span>|     [list length]<br>
|     |<br>
|     [array size arrayname]<br>
|<br>
[array set arrayname]<br>
<br>
Dont forget [array define arrayname] somewhere in your patch.<br>
<br></blockquote><div> <br>That is simpler.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
a note : if you use [array], you could use [text] instead [textfile].<br>
++<br>
<br>
Jack<br>
<div><div class="h5"><br>
<br>
<br></div></div></blockquote><div><br><br></div><div>Thanks <br>I could use [text] instead I guess. <br></div><div>Does it auto resize?<br><br> </div></div><div class="gmail_quote">It seems I haven't had any trouble with textfile or text resizing when reading from file.<br></div><br></div></div>