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.
Thanks in advance for any clues.
2010/3/2 PSPunch shima@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks Tim,
That is quite amazing. I think I will be able to take it from there.