From 7a281be324e31dd40b918bcdcb3532f4593ed9b1 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 9 Apr 2004 02:55:45 +0000 Subject: checked in sources from CK svn path=/trunk/externals/miXed/; revision=1583 --- doc/help/cyclone/fromsymbol.pd | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 doc/help/cyclone/fromsymbol.pd (limited to 'doc/help/cyclone/fromsymbol.pd') diff --git a/doc/help/cyclone/fromsymbol.pd b/doc/help/cyclone/fromsymbol.pd new file mode 100644 index 0000000..714b2f8 --- /dev/null +++ b/doc/help/cyclone/fromsymbol.pd @@ -0,0 +1,44 @@ +#N canvas 134 92 582 543 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 17 488 cyclone is (c) Miller Puckette and others; +#X text 18 501 docs based on the MAX/MSP reference (c) cycling'74; +#X text 17 515 ___________________________________________________ +; +#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 obj 94 215 print symbol_with_spaces; +#X text 271 218 becomes a symbol with spaces; +#X obj 53 279 print list_again; +#X text 178 282 and can be transformed back into a list; +#X text 31 164 so this:; +#X obj 90 409 tosymbol; +#X obj 90 434 print separator; +#X text 50 353 1; +#X text 57 382 2; +#X obj 55 317 tosymbol; +#X msg 90 379 lets place a _ instead of a space inside; +#X msg 67 354 separator _; +#X text 117 321 can also be used to generate non space symbols from +lists:; +#X connect 1 0 19 0; +#X connect 7 0 17 0; +#X connect 7 0 1 0; +#X connect 16 0 7 0; +#X connect 22 0 23 0; +#X connect 27 0 22 0; +#X connect 28 0 22 0; -- cgit v1.2.1