[PD] Problem with Textfile and line with float

Pedro Lopes pedro.lopes at ist.utl.pt
Tue Jun 29 23:54:47 CEST 2010

I'm not following the "concept" behind your code.

Notice that you can connect a message box "print" and send that command to
textfile. And it reads your file to the pd shell correctly.

[read your-file.txt]
|   [print(  <-- this is a message
| /
|  [bang] <-- hit this to read,.
| /
[print list]

And it works. Take a look at the help file, it shows hot to use it. I hope
I'm understanding your issue, if not, hopefully someone does :)

Best of luck,
p.s: remember to use the "rewind" message to textfile, because otherwise it
doesn't read the line again! Because it moves forward with the seek file

On Tue, Jun 29, 2010 at 10:37 PM, thomas thiery <matohawk at gmail.com> wrote:

> Hi pd-list,
> test this patch, I saw a curious problem. I need to read line with "float"
> at the begining of a line and textfile can't do this.
> It's a pity
> --
> Matohawk alias Th-Th
> www.th-th.fr
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list

Pedro Lopes
contacto: jazz at radiozero.pt
website: http://web.ist.utl.pt/Pedro.Lopes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100629/2fda2809/attachment-0001.htm>

More information about the Pd-list mailing list