aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/fromsymbol-help.pd
blob: 0ca1eea3c52d31830ac74075ae4b2fcd2c1f1140 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#N canvas 0 26 559 593 10;
#X obj 53 251 fromsymbol;
#X obj 56 18 cnv 15 400 40 empty empty empty 20 12 0 14 -262130 -66577
0;
#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/pddplink ../all_about_lists_vs_anythings.pd -text
all_about_lists_vs_anythings;
#X obj 348 504 pddp/pddplink ../all_about_symbol_construction.pd -text
all_about_symbol_construction;
#X obj 4 504 pddp/pddplink ../all_about_data_types.pd -text all_about_data_types
;
#X obj 29 16 fromsymbol;
#X obj 29 37 tosymbol;
#X text 121 22 transform symbol to numbers or messages and vice versa
;
#N canvas 115 154 494 375 META 0;
#X text 12 175 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
Wilkes for Pd-extended 0.42 to conform to the PDDP template.;
#X text 12 145 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 12 5 KEYWORDS control conversion max_compatible symbol_op anything_op
;
#X text 12 55 DESCRIPTION transform a symbol to a number (or anything)
and vice versa;
#X text 12 105 OUTLET_0 anything;
#X text 12 85 INLET_0 symbol;
#X text 12 35 LICENSE SIBSD;
#X text 12 125 AUTHOR Krzysztof Czaja;
#X restore 476 563 pd META;
#X obj 441 134 fromsymbol;
#X msg 441 85 4;
#X obj 441 156 route float;
#X floatatom 441 183 5 0 0 0 - - -;
#X obj 441 112 tosymbol;
#X connect 0 0 26 0;
#X connect 4 0 0 0;
#X connect 4 0 25 0;
#X connect 13 0 4 0;
#X connect 17 0 24 0;
#X connect 21 0 17 0;
#X connect 22 0 17 0;
#X connect 35 0 37 0;
#X connect 36 0 39 0;
#X connect 37 0 38 0;
#X connect 39 0 35 0;