aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/tosymbol.pd
blob: b70314383f59f933927128f7fe6a416e2869b354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#N canvas 444 46 559 593 10;
#X obj 29 16 fromsymbol;
#X obj 53 251 fromsymbol;
#X obj 29 37 tosymbol;
#X text 121 22 transform symbol to numbers or messages and vice versa
;
#X text 5 5 ;
#X text 17 559 docs based on the MAX/MSP reference (c) cycling'74;
#X text 17 570 ___________________________________________________
;
#X obj 94 190 tosymbol;
#X text 35 72 since pd lacks a quoting mechanism (like `foo bar`) there
is;
#X text 36 84 no support for spaces in symbols \, so the original max
way of;
#X text 35 96 using from/tosymbol won't work. One has to construct
symbols;
#X text 34 109 with other tools like;
#X obj 185 113 tosymbol;
#X obj 267 113 makesymbol;
#X text 248 109 or;
#X text 342 110 from zexy;
#X msg 94 164 this is a list of symbols;
#X text 275 216 becomes a symbol with spaces;
#X text 200 278 and can be transformed back into a list;
#X text 31 164 so this:;
#X obj 90 421 tosymbol;
#X text 50 365 1;
#X text 57 394 2;
#X obj 55 329 tosymbol;
#X msg 90 391 lets place a _ instead of a space inside;
#X msg 67 366 separator _;
#X text 117 333 can also be used to generate non space symbols from
lists:;
#X symbolatom 90 446 0 0 0 0 - - -;
#X symbolatom 94 216 25 0 0 0 - - -;
#X obj 53 278 print THIS_IS_A_LIST;
#X text 1 486 For more info:;
#X obj 148 504 pddp_open all_about_lists_vs_anythings;
#X obj 348 504 pddp_open all_about_symbol_construction;
#X obj 4 504 pddp_open all_about_data_types;
#X connect 1 0 29 0;
#X connect 7 0 1 0;
#X connect 7 0 28 0;
#X connect 16 0 7 0;
#X connect 20 0 27 0;
#X connect 24 0 20 0;
#X connect 25 0 20 0;