[PD] Handling numbers read from a file

tim vets timvets at gmail.com
Tue Mar 2 11:52:56 CET 2010


2010/3/2 PSPunch <shima at pspunch.com>

>
> Hi,
>
>
> I am looking for a way to load a series of floats stored in a file, then
> accessing the values in a non-sequential order.
>
> My patch under construction is utilizing [textfile], which I've come to
> realize that there is currently no method to move in reverse order.
> (Ultimately, all I want to do is go back one step when necessary.)
>
> As all my data are numbers, [tabread] should work fine. Although in this
> case, I do not know how to know the number of values in advance to
> resize the table prior to loading the data.
>
>
> Hi David,
here's a possible solution.
you can also directly read a textfile into a table, but afaict there is no
resize option for that...
gr,
Tim


> Thanks in advance for any clues.
>
>
> --
> David Shimamoto
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100302/7bbde38a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: textfile_to_table.pd
Type: application/octet-stream
Size: 1351 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100302/7bbde38a/attachment.obj>


More information about the Pd-list mailing list