From e28fb440a363a94180c4cb57fbaf1b00065a2810 Mon Sep 17 00:00:00 2001 From: Luke Iannini Date: Fri, 26 Sep 2008 07:32:06 +0000 Subject: list-idx-many, for building a sublist from specific elements of a longer list svn path=/trunk/abstractions/senderfruit/; revision=10310 --- core/list-idx-many-help.pd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 core/list-idx-many-help.pd (limited to 'core/list-idx-many-help.pd') diff --git a/core/list-idx-many-help.pd b/core/list-idx-many-help.pd new file mode 100644 index 0000000..780a160 --- /dev/null +++ b/core/list-idx-many-help.pd @@ -0,0 +1,14 @@ +#N canvas 301 700 450 300 10; +#X declare -lib iemlib -lib list-abs; +#X obj 79 160 list-idx-many 2 4 6; +#X obj 79 190 print; +#X msg 79 114 a b c d e f g; +#X text 19 12 [list-idx-many] - just like [list-idx] except you can +specify multiple indexes to grab (outputting a new list instead of +a single element); +#X msg 190 115 1 2 4 5 6; +#X text 276 230 2008 Luke Iannini; +#X text 276 246 proyekto.net; +#X connect 0 0 1 0; +#X connect 2 0 0 0; +#X connect 4 0 0 1; -- cgit v1.2.1