aboutsummaryrefslogtreecommitdiff
path: root/examples/list2symbol.pd
blob: 12c0592e6ad21173fccc03ea44cce7b575c9108b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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 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;