[PD] Indexed array selection
ypatios
ypatios at gmail.com
Sun Oct 11 04:12:45 CEST 2009
which could look in pd code like this:
<your lists here>
|
[list prepend]\
|\__________\_ <-- make a bigger list
consisting of all your lists
| \[t l ]
|
|
| [13 5 ( <-- set values for output
here;
| | this means index
13 from the fifth "list"
__|___[t b l ]
/ | |
/ | [unpack ]
[list ] | |
| | ___[* 20] <-- list number * "list"
length
| [+ ] <-- and add to the
index
| |
|__________[set, adddollar $1 (
[ ( <-- empty message box
|
|
<output>
ciao
--
ypatios
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091011/ba19b2cc/attachment.htm>
More information about the Pd-list
mailing list