there is a little part about it in [expr] help file [expr $s2[$f1]]
really nice trick ----- Mail Original ----- De: "colet patrice" <[email protected]> À: "Matt Barber" <[email protected]> Cc: "Sisti Sette, Matteo" <[email protected]>, "pd-list" <[email protected]>, "Derek Holzer" <[email protected]> Envoyé: Samedi 27 Mars 2010 21h55:23 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] expr size() refuses some array names 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. _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
