[PD] expr size() refuses some array names

Matt Barber brbrofsvl at gmail.com
Sat Mar 27 21:24:06 CET 2010


Here's the proper way to do it:

[symbol $0-foo]
 |
[expr size("$s1")]


substitute anything that outputs the symbol (with the symbol selector)
that you want -- [makefilename], etc.

Matt


> Last option would be to try using [sprintf], [makefilename] or similar
> to create the array name, and send to [expr size($1)] . Maybe....
>
> Prost!
> D.




More information about the Pd-list mailing list