From d2eec74a4d8c21aad495ba61539486b24d7ab8dc Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Wed, 9 Oct 2002 10:19:04 +0000 Subject: moved from zexy/zexy to zexy svn path=/trunk/externals/zexy/; revision=169 --- examples/makesymbol.pd | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 examples/makesymbol.pd (limited to 'examples/makesymbol.pd') diff --git a/examples/makesymbol.pd b/examples/makesymbol.pd new file mode 100644 index 0000000..a9ac712 --- /dev/null +++ b/examples/makesymbol.pd @@ -0,0 +1,58 @@ +#N canvas 131 -9 723 652 10; +#X obj 57 15 makesymbol; +#X text 56 39 makesymbol is something between the "symbol" and the "makefilename" object.; +#X text 56 79 Any list (with up to 10 members) on the first input will be applied on a C-like format-string that can be either given as an argument on the second input or as a creation-argument.; +#X text 58 150 The result will be a symbol.; +#X obj 59 267 makesymbol; +#X obj 61 591 makesymbol %s_is_%s; +#X msg 14 246 bang; +#X msg 11 359 bang; +#X msg 10 570 bang; +#X msg 232 246 symbol cat; +#X msg 59 208 symbol horse; +#X msg 59 233 symbol cow; +#X obj 58 380 makesymbol house; +#X msg 61 349 symbol castle; +#X msg 232 221 symbol %ss; +#X symbolatom 233 196; +#X symbolatom 59 182; +#X symbolatom 232 310; +#X msg 61 562 list conan back; +#X floatatom 128 511; +#X obj 61 536 pack s 12; +#X msg 61 488 symbol eleven; +#X obj 59 293 print A; +#X obj 58 405 print B; +#X obj 61 615 print C; +#X msg 232 335 symbol %d; +#X msg 232 359 symbol %s; +#X text 320 360 only %s does; +#X text 319 328 %d \, %f... won't work properly; +#X text 321 241 if the right inlet (mask) does not have any format-tags \, the left one won't get through !!; +#X floatatom 62 460; +#X text 149 461 it doesn't matter whether you are using numbers \, symbols...; +#X text 254 541 note:: every member of the list will be converted to a STRING \, so there's no use \, using %d \, %f...; +#X floatatom 59 324; +#X text 353 338 (at least \, you won't get what you normally want); +#X connect 4 0 22 0; +#X connect 5 0 24 0; +#X connect 6 0 4 0; +#X connect 7 0 12 0; +#X connect 8 0 5 0; +#X connect 9 0 4 1; +#X connect 10 0 4 0; +#X connect 11 0 4 0; +#X connect 12 0 23 0; +#X connect 13 0 12 0; +#X connect 14 0 4 1; +#X connect 15 0 4 1; +#X connect 16 0 4 0; +#X connect 17 0 12 1; +#X connect 18 0 5 0; +#X connect 19 0 20 1; +#X connect 20 0 5 0; +#X connect 21 0 20 0; +#X connect 25 0 12 1; +#X connect 26 0 12 1; +#X connect 30 0 5 0; +#X connect 33 0 12 0; -- cgit v1.2.1