[PD] Handling numbers read from a file

Matteo Sisti Sette matteosistisette at gmail.com
Wed Mar 3 09:23:46 CET 2010


Hans Roels escribió:
> There's a simple solution to know the size of an array in Pd vanilla (it 
> has been posted on this list before). If your array is called example, 
> send a bang to
> [expr size("example")]
> 

That's great!!
I didn't know that, and I so often needed it!
Thanks a lot.

However in this case, when you read the numbers from a file, you must 
count them _prior_ to storing them into the array.
Or is there a way to send a list of numbers to an array and have it 
automatically resize to the list length?



-- 
Matteo Sisti Sette
matteosistisette at gmail.com
http://www.matteosistisette.com




More information about the Pd-list mailing list