[PD] expr size() refuses some array names

colet.patrice at free.fr colet.patrice at free.fr
Sat Mar 27 21:55:23 CET 2010


oh, didn't know all of this, where it's documented?

just [bang<--[list prepend $0foo]--[expr size("$s1")] did the trick

thanks and sorry for the misleading.


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.

_______________________________________________
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