diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-02-06 21:20:35 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-02-06 21:20:35 +0000 |
commit | dae608a5e8f3ec9f0447be489a39b37763189174 (patch) | |
tree | 39c1c6c6bb42a460f3782eded33c1315ecbbf9cb /doc | |
parent | 76a68fd7cfac0004ff02ee70e02a9484add477d7 (diff) |
added some unusual cases of bangs
svn path=/trunk/; revision=4559
Diffstat (limited to 'doc')
-rw-r--r-- | doc/additional/messageoddness/what_is_a_bang.pd | 89 | ||||
-rw-r--r-- | doc/additional/messageoddness/what_is_a_symbol.pd | 166 |
2 files changed, 184 insertions, 71 deletions
diff --git a/doc/additional/messageoddness/what_is_a_bang.pd b/doc/additional/messageoddness/what_is_a_bang.pd new file mode 100644 index 00000000..2adf63c0 --- /dev/null +++ b/doc/additional/messageoddness/what_is_a_bang.pd @@ -0,0 +1,89 @@ +#N canvas 163 173 794 501 10; +#X floatatom 80 298 5 0 0 0 - - -; +#X symbolatom 128 297 10 0 0 0 - - -; +#X obj 33 318 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 -1 +-1; +#X obj 33 274 route bang float symbol list; +#X obj 80 318 bng 15 250 50 0 empty empty float -4 23 1 12 -262144 +-1 -1; +#X obj 128 318 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144 +-1 -1; +#X obj 176 318 bng 15 250 50 0 empty empty list -2 23 1 12 -262144 +-1 -1; +#X obj 224 318 bng 15 250 50 0 empty empty undefined -18 23 1 12 -262144 +-1 -1; +#X msg 32 21 bang; +#X obj 46 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 79 37 element; +#X obj 57 68 bang; +#X msg 81 96 float bang; +#X text 164 96 invalid; +#X msg 86 118 symbol bang; +#X text 173 118 not a bang \, but a symbol; +#X msg 92 142 list bang; +#X msg 94 169 list bang bang bang; +#X text 163 141 not a bang \, but a symbol; +#X text 235 170 not a bang \, but a list; +#X msg 87 203 bang bang bang; +#X text 195 203 this is a bang; +#X msg 91 226 bang 1 2; +#X msg 92 247 bang one two; +#X text 160 226 this is a bang; +#X text 191 247 this is a bang; +#X msg 422 27 bang; +#X obj 436 46 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 469 43 element; +#X obj 447 74 bang; +#X msg 471 102 float bang; +#X text 554 102 invalid; +#X msg 476 124 symbol bang; +#X text 563 124 not a bang \, but a symbol; +#X msg 482 148 list bang; +#X msg 484 175 list bang bang bang; +#X text 553 147 not a bang \, but a symbol; +#X text 625 176 not a bang \, but a list; +#X msg 477 209 bang bang bang; +#X text 585 209 this is a bang; +#X msg 481 232 bang 1 2; +#X msg 482 253 bang one two; +#X text 550 232 this is a bang; +#X text 581 253 this is a bang; +#X obj 423 280 print; +#X text 482 74 this turns [element( into a bang; +#X msg 47 392 list bang; +#X obj 47 416 list trim; +#X obj 47 440 print; +#X text 124 414 another way to convert a list to a bang; +#X connect 0 0 4 0; +#X connect 1 0 5 0; +#X connect 3 0 2 0; +#X connect 3 1 0 0; +#X connect 3 2 1 0; +#X connect 3 3 6 0; +#X connect 3 4 7 0; +#X connect 8 0 3 0; +#X connect 9 0 3 0; +#X connect 10 0 11 0; +#X connect 11 0 3 0; +#X connect 12 0 3 0; +#X connect 14 0 3 0; +#X connect 16 0 3 0; +#X connect 17 0 3 0; +#X connect 20 0 3 0; +#X connect 22 0 3 0; +#X connect 23 0 3 0; +#X connect 26 0 44 0; +#X connect 27 0 44 0; +#X connect 28 0 29 0; +#X connect 29 0 44 0; +#X connect 30 0 44 0; +#X connect 32 0 44 0; +#X connect 34 0 44 0; +#X connect 35 0 44 0; +#X connect 38 0 44 0; +#X connect 40 0 44 0; +#X connect 41 0 44 0; +#X connect 46 0 47 0; +#X connect 47 0 48 0; diff --git a/doc/additional/messageoddness/what_is_a_symbol.pd b/doc/additional/messageoddness/what_is_a_symbol.pd index 378d6e1a..79f4c889 100644 --- a/doc/additional/messageoddness/what_is_a_symbol.pd +++ b/doc/additional/messageoddness/what_is_a_symbol.pd @@ -1,74 +1,90 @@ -#N canvas 242 94 808 606 10; -#X msg 48 59 symbol pie; -#X msg 67 111 pie; -#X text 127 59 a symbol; -#X floatatom 96 337 5 0 0 0 - - -; -#X symbolatom 144 336 10 0 0 0 - - -; -#X obj 49 357 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 -1 +#N canvas 146 67 812 610 10; +#X msg 48 49 symbol pie; +#X msg 67 101 pie; +#X text 127 49 a symbol; +#X floatatom 96 297 5 0 0 0 - - -; +#X symbolatom 144 296 10 0 0 0 - - -; +#X obj 49 317 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 -1 -1; -#X obj 49 313 route bang float symbol list; -#X obj 96 357 bng 15 250 50 0 empty empty float -4 23 1 12 -262144 +#X obj 49 273 route bang float symbol list; +#X obj 96 317 bng 15 250 50 0 empty empty float -4 23 1 12 -262144 -1 -1; -#X obj 144 357 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144 +#X obj 144 317 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144 -1 -1; -#X obj 192 357 bng 15 250 50 0 empty empty list -2 23 1 12 -262144 +#X obj 192 317 bng 15 250 50 0 empty empty list -2 23 1 12 -262144 -1 -1; -#X obj 240 357 bng 15 250 50 0 empty empty undefined -18 23 1 12 -262144 +#X obj 240 317 bng 15 250 50 0 empty empty undefined -18 23 1 12 -262144 -1 -1; -#X msg 86 240 lots of pie; -#X msg 132 473 word; -#X msg 140 492 symbol word; -#X text 166 473 not a symbol; -#X obj 132 538 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X msg 86 220 lots of pie; +#X obj 142 538 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 205 538 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 233 538 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 133 517 select word; -#X text 15 445 [select] considers [word( as something other than a -symbol:; -#X msg 320 96 symbol pie; -#X msg 337 142 pie; -#X text 399 96 a symbol; -#X floatatom 388 339 5 0 0 0 - - -; -#X symbolatom 454 338 10 0 0 0 - - -; -#X obj 321 359 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 +#X msg 370 96 symbol pie; +#X msg 387 142 pie; +#X text 449 96 a symbol; +#X floatatom 438 299 5 0 0 0 - - -; +#X symbolatom 504 298 10 0 0 0 - - -; +#X obj 371 319 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 -1 -1; -#X obj 388 359 bng 15 250 50 0 empty empty float -4 23 1 12 -262144 +#X obj 438 319 bng 15 250 50 0 empty empty float -4 23 1 12 -262144 -1 -1; -#X obj 454 359 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144 +#X obj 504 319 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144 -1 -1; -#X obj 522 359 bng 15 250 50 0 empty empty list -2 23 1 12 -262144 +#X obj 572 319 bng 15 250 50 0 empty empty list -2 23 1 12 -262144 -1 -1; #X text 28 566 [select] requires a atom type selector in order to understand the data (the float selector is implied); -#X text 54 89 [route] says these are not symbols:; -#X msg 74 131 word; -#X msg 91 261 is this a list 2?; -#X text 79 218 [route] says these are not lists:; -#X msg 82 186 list lots of pie; -#X text 203 187 a list; -#X msg 347 161 word; -#X msg 364 221 list lots of pie; -#X text 491 221 a list; -#X msg 365 254 lots of pie; -#X msg 366 278 is this a list 2?; +#X text 54 79 [route] says these are not symbols:; +#X msg 74 121 word; +#X msg 91 241 is this a list 2?; +#X text 79 198 [route] says these are not lists:; +#X msg 82 166 list lots of pie; +#X text 203 167 a list; +#X msg 397 161 word; +#X msg 414 189 list lots of pie; +#X text 541 189 a list; +#X msg 415 214 lots of pie; +#X msg 416 238 is this a list 2?; #X msg 474 444 symbol pie; -#X msg 495 496 pie; -#X msg 502 516 word; +#X msg 505 497 pie; +#X msg 541 497 word; #X symbolatom 473 554 10 0 0 0 - - -; #X obj 473 571 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 616 486 (check Pd Window):; #X text 482 474 symbolatom says these are not symbols; -#X obj 320 315 trigger bang float symbol list anything; -#X obj 589 359 bng 15 250 50 0 empty empty anything -15 23 1 12 -262144 +#X obj 370 275 trigger bang float symbol list anything; +#X obj 639 319 bng 15 250 50 0 empty empty anything -15 23 1 12 -262144 -1 -1; -#X text 340 122 [trigger] says these are not symbols:; -#X text 310 16 The Pd window reports that it 'can only convert "s" +#X text 390 122 [trigger] says these are not symbols:; +#X text 360 16 The Pd window reports that it 'can only convert "s" to "b" or "a"'. So it considers the non-symbols of type "s" since they are converted only to "bang" and "anything". But type "s" is not the same as "symbol" because the symbol is converted to all of the types. ; +#X msg 132 473 element; +#X msg 140 492 symbol element; +#X obj 141 517 select element; +#X obj 71 538 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 119 538 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 70 517 select 1; +#X text 190 472 not a symbol or a float; +#X text 15 444 [select] considers [element( as something other than +a symbol or a float:; +#X msg 433 512 bang; +#X symbolatom 60 417 10 0 0 0 - - -; +#X msg 60 367 symbol bang; +#X text 148 368 this is a symbol \, not a bang; +#X msg 76 390 symbol 5; +#X text 145 391 this is a blank symbol; +#X msg 377 365 symbol bang; +#X text 465 366 this is a symbol \, not a bang; +#X msg 393 388 symbol 5; +#X text 462 389 this is a blank symbol; +#X obj 376 416 print; #X connect 0 0 6 0; #X connect 1 0 6 0; #X connect 3 0 7 0; @@ -79,27 +95,35 @@ same as "symbol" because the symbol is converted to all of the types. #X connect 6 3 9 0; #X connect 6 4 10 0; #X connect 11 0 6 0; -#X connect 12 0 17 0; -#X connect 13 0 17 0; -#X connect 17 0 15 0; -#X connect 17 1 16 0; -#X connect 19 0 47 0; -#X connect 20 0 47 0; -#X connect 22 0 25 0; -#X connect 23 0 26 0; -#X connect 30 0 6 0; -#X connect 31 0 6 0; -#X connect 33 0 6 0; -#X connect 35 0 47 0; -#X connect 36 0 47 0; -#X connect 38 0 47 0; -#X connect 39 0 47 0; -#X connect 40 0 43 0; -#X connect 41 0 43 0; -#X connect 42 0 43 0; -#X connect 43 0 44 0; -#X connect 47 0 24 0; -#X connect 47 1 22 0; -#X connect 47 2 23 0; -#X connect 47 3 27 0; -#X connect 47 4 48 0; +#X connect 14 0 42 0; +#X connect 15 0 42 0; +#X connect 17 0 20 0; +#X connect 18 0 21 0; +#X connect 25 0 6 0; +#X connect 26 0 6 0; +#X connect 28 0 6 0; +#X connect 30 0 42 0; +#X connect 31 0 42 0; +#X connect 33 0 42 0; +#X connect 34 0 42 0; +#X connect 35 0 38 0; +#X connect 36 0 38 0; +#X connect 37 0 38 0; +#X connect 38 0 39 0; +#X connect 42 0 19 0; +#X connect 42 1 17 0; +#X connect 42 2 18 0; +#X connect 42 3 22 0; +#X connect 42 4 43 0; +#X connect 46 0 48 0; +#X connect 46 0 51 0; +#X connect 47 0 48 0; +#X connect 48 0 12 0; +#X connect 48 1 13 0; +#X connect 51 0 49 0; +#X connect 51 1 50 0; +#X connect 54 0 38 0; +#X connect 56 0 55 0; +#X connect 58 0 55 0; +#X connect 60 0 64 0; +#X connect 62 0 64 0; |