I&#39;m not following the &quot;concept&quot; behind your code.<br><br>Notice that you can connect a message box &quot;print&quot; and send that command to textfile. And it reads your file to the pd shell correctly.<br><br>

[read your-file.txt]<br>|   [print(  &lt;-- this is a message<br>| /<br>|/<br>|  [bang] &lt;-- hit this to read,.<br>| /<br>|/<br>[textfile]<br>|<br>|<br>[print list]<br><br>And it works. Take a look at the help file, it shows hot to use it. I hope I&#39;m understanding your issue, if not, hopefully someone does :)<br>

<br>Best of luck,<br>Pedro<br>p.s: remember to use the &quot;rewind&quot; message to textfile, because otherwise it doesn&#39;t read the line again! Because it moves forward with the seek file pointer.<br><br><div class="gmail_quote">

On Tue, Jun 29, 2010 at 10:37 PM, thomas thiery <span dir="ltr">&lt;<a href="mailto:matohawk@gmail.com">matohawk@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi pd-list,<br><br>test this patch, I saw a curious problem. I need to read line with &quot;float&quot; at the begining of a line and textfile can&#39;t do this.<br>It&#39;s a pity<br clear="all"><font color="#888888"><br>

-- <br>Matohawk alias Th-Th<br>
<a href="http://www.th-th.fr" target="_blank">www.th-th.fr</a><br>
</font><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes">http://web.ist.utl.pt/Pedro.Lopes</a> <br>