[PD] Handling numbers read from a file

PSPunch shima at pspunch.com
Tue Mar 2 15:28:44 CET 2010


Thanks Tim,


That is quite amazing.
I think I will be able to take it from there.

-- 
David Shimamoto



> 2010/3/2 PSPunch <shima at pspunch.com <mailto: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 <mailto:Pd-list at iem.at> mailing list
>     UNSUBSCRIBE and account-management ->
>     http://lists.puredata.info/listinfo/pd-list
>
>





More information about the Pd-list mailing list