From 2243aed73c65c75981b37a7ff133f41732ceaff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Fri, 7 Mar 2003 12:13:31 +0000 Subject: list2symbol now has a separator that can be defined by the users svn path=/trunk/externals/zexy/; revision=456 --- examples/list2symbol.pd | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'examples') diff --git a/examples/list2symbol.pd b/examples/list2symbol.pd index 801803f..12c0592 100644 --- a/examples/list2symbol.pd +++ b/examples/list2symbol.pd @@ -1,16 +1,22 @@ -#N canvas 190 131 809 343 10; +#N canvas 198 171 809 343 10; #X obj 135 48 list2symbol; #X text 219 48 convert a list into a symbol; #X obj 457 50 l2s; -#X symbolatom 75 230 50 0 0; -#X obj 75 202 list2symbol; -#X msg 75 156 list this was a list and is now a symbol; -#X msg 159 177 anythings work fine too; -#X obj 507 212 l2s my bonnie is over the ocean; -#X obj 507 232 print; -#X msg 507 191 bang; +#X symbolatom 75 286 50 0 0; +#X obj 75 258 list2symbol; +#X msg 75 97 list this was a list and is now a symbol; +#X msg 159 118 anythings work fine too; +#X obj 507 268 l2s my bonnie is over the ocean; +#X obj 507 288 print; +#X msg 507 247 bang; +#X symbolatom 147 223 10 0 0; +#X msg 147 188 symbol --; +#X text 230 187 by default \, list-elements are separated by spaces. +You can set the separator to any symbol; #X connect 4 0 3 0; #X connect 5 0 4 0; #X connect 6 0 4 0; #X connect 7 0 8 0; #X connect 9 0 7 0; +#X connect 10 0 4 1; +#X connect 11 0 10 0; -- cgit v1.2.1