I&#39;m looking at the C code, it should be something with outputing the &quot;float&quot;, because when it receives the message &quot;print&quot;, the textfile element shows its debugging data and the whole message is there &quot;float bla bla&quot;. Well honestly, the only thing the debug method does is print the buffer, so it is obvious &quot;it&#39;s there&quot;.<br>


<br>a more in-depth look, showed this...<br><br>//code from &gt; externals/vanilla &gt; from the band method of the external<br> {<br>        x-&gt;x_onset = onset2;<br>        if (ap-&gt;a_type == A_SYMBOL)<br>            outlet_anything(x-&gt;x_ob.ob_outlet, ap-&gt;a_w.w_symbol,<br>


                onset2-onset-1, ap+1);<br>        else outlet_list(x-&gt;x_ob.ob_outlet, 0, onset2-onset, ap);<br>    }<br>    else<br>    {<br>        x-&gt;x_onset = 0x7fffffff;<br>        outlet_bang(x-&gt;x_bangout);<br>


    }<br>//end of code<br><br>This seems that it only adds &quot;stuff&quot; to the list, when a A_SYMBOL is found? Or am I not getting this straight? If its true, then the issue could be this... because according to [1] A_SYMBOL is not A_FLOAT (this sounds philosophical..=P).<br>


<br>Best regards,<br>Pedro<br><br>[1] <a href="http://iem.kug.ac.at/pd/externals-HOWTO/node7.html" target="_blank">http://iem.kug.ac.at/pd/externals-HOWTO/node7.html</a><br><br>I guess my help won&#39;t fix this :)<br><br>

<div class="gmail_quote">
On Tue, Jun 29, 2010 at 11:49 PM, Pedro Lopes <span dir="ltr">&lt;<a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</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;">


humm.. I see what you mean now. It gives a error with the float argument when it arrives at the objects after the textfile. I&#39;m trying to figure out the reason for that. <br><div><div></div><div><br><div class="gmail_quote">


On Tue, Jun 29, 2010 at 11:42 PM, Pedro Lopes <span dir="ltr">&lt;<a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</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;">I did that, but what are you expecting your patch to do? <br>Should it send each object read from text file separately? <br>



<br>&#39;Cause here (with the patch I explain in my previous reply) the textfile reads your file and outputs all the values to a [print list] so then its just a matter of manipulating that into what you want.<br>

<br>I used your file for the tests. I can try to look and guess what do you intend, but its probably less ambiguous if you explain the purpose. :)<br><br>Best of luck,<br><font color="#888888">Pedro</font><div><div></div>



<div><br><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 11:36 PM, matohawk <span dir="ltr">&lt;<a href="mailto:matohawk@gmail.com" target="_blank">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 Pedro,<br>
Sorry I think I&#39;m not very with explanation.<br>
I know how textfile works it&#39;s not my problem<br>
Have a look of this patch and textfile, it&#39;s better to understand the problem:<br>
<a href="http://www.th-th.fr/DOCS/Patch/bug-texfile.pd" target="_blank">http://www.th-th.fr/DOCS/Patch/bug-texfile.pd</a><br>
<a href="http://www.th-th.fr/DOCS/Patch/text-float.txt" target="_blank">http://www.th-th.fr/DOCS/Patch/text-float.txt</a><br>
<br>
Download the twho files, open the patch and click on bang<br>
<br>
Cheers,<br>
Thomas<br>
<br>
Pedro Lopes a écrit :<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
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><div>
On Tue, Jun 29, 2010 at 10:37 PM, thomas thiery &lt;<a href="mailto:matohawk@gmail.com" target="_blank">matohawk@gmail.com</a> &lt;mailto:<a href="mailto:matohawk@gmail.com" target="_blank">matohawk@gmail.com</a>&gt;&gt; wrote:<br>






<br>
    Hi pd-list,<br>
<br>
    test this patch, I saw a curious problem. I need to read line with<br>
    &quot;float&quot; at the begining of a line and textfile can&#39;t do this.<br>
    It&#39;s a pity<br>
<br>
    --     Matohawk alias Th-Th<br></div>
    <a href="http://www.th-th.fr" target="_blank">www.th-th.fr</a> &lt;<a href="http://www.th-th.fr" target="_blank">http://www.th-th.fr</a>&gt;<br>
<br>
    _______________________________________________<br>
    <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; mailing list<div><br>
    UNSUBSCRIBE and account-management -&gt;<br>
    <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
<br>
<br>
-- <br>
Pedro Lopes<br></div>
contacto: <a href="mailto:jazz@radiozero.pt" target="_blank">jazz@radiozero.pt</a> &lt;mailto:<a href="mailto:jazz@radiozero.pt" target="_blank">jazz@radiozero.pt</a>&gt;<div><br>
website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a><br>
</div></blockquote>
<br><div><div></div><div>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt" target="_blank">jazz@radiozero.pt</a><br></div></div><div><div></div><div>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>






</div></div></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt" target="_blank">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>




</div></div></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt" target="_blank">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>