diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-10-27 22:52:39 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-10-27 22:52:39 +0000 |
commit | 849160f3930c7a21479449292ba7ae823539be0c (patch) | |
tree | 7c73fa4befeec55e69da1c72adc6672cfa6a9e88 /doc/additional/messageoddness | |
parent | 214066a139e6c680e8517c89a07431a9649321a0 (diff) |
Ardis Kadiu came to me having a problem with symbol messages that have numeric data. In my searching for a solution, I discovered this strange behavior
svn path=/trunk/; revision=6172
Diffstat (limited to 'doc/additional/messageoddness')
-rw-r--r-- | doc/additional/messageoddness/mystery_type_after_conversion.pd | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/additional/messageoddness/mystery_type_after_conversion.pd b/doc/additional/messageoddness/mystery_type_after_conversion.pd new file mode 100644 index 00000000..5ac1b6f7 --- /dev/null +++ b/doc/additional/messageoddness/mystery_type_after_conversion.pd @@ -0,0 +1,58 @@ +#N canvas 478 110 616 391 10; +#X msg 65 89 1234; +#X obj 20 285 print; +#X obj 66 245 list trim; +#X floatatom 113 309 5 0 0 0 - - -; +#X symbolatom 161 308 10 0 0 0 - - -; +#X obj 66 329 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 -1 +-1; +#X obj 66 285 route bang float symbol list; +#X obj 113 329 bng 15 250 50 0 empty empty float -4 23 1 12 -262144 +-1 -1; +#X obj 161 329 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144 +-1 -1; +#X obj 209 329 bng 15 250 50 0 empty empty list -2 23 1 12 -262144 +-1 -1; +#X obj 257 329 bng 15 250 50 0 empty empty undefined -18 23 1 12 -262144 +-1 -1; +#X text 19 8 If you start with a symbolic atom in a symbol message +\, then run it thru a [list trim] \, you end up with a mystery type +that is just a numeric atom \, but does not work as a float message. +; +#X text 184 93 <-- this generates a symbolic atom with numeric data +\, and outputs a symbol message.; +#X msg 106 89 1.23; +#X obj 65 112 makefilename %d; +#X floatatom 143 176 5 0 0 0 - - -; +#X symbolatom 191 175 10 0 0 0 - - -; +#X obj 96 196 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 -1 +-1; +#X obj 96 152 route bang float symbol list; +#X obj 143 196 bng 15 250 50 0 empty empty float -4 23 1 12 -262144 +-1 -1; +#X obj 191 196 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144 +-1 -1; +#X obj 239 196 bng 15 250 50 0 empty empty list -2 23 1 12 -262144 +-1 -1; +#X obj 287 196 bng 15 250 50 0 empty empty undefined -18 23 1 12 -262144 +-1 -1; +#X connect 0 0 14 0; +#X connect 2 0 6 0; +#X connect 2 0 1 0; +#X connect 3 0 7 0; +#X connect 4 0 8 0; +#X connect 6 0 5 0; +#X connect 6 1 3 0; +#X connect 6 2 4 0; +#X connect 6 3 9 0; +#X connect 6 4 10 0; +#X connect 13 0 14 0; +#X connect 14 0 2 0; +#X connect 14 0 18 0; +#X connect 15 0 19 0; +#X connect 16 0 20 0; +#X connect 18 0 17 0; +#X connect 18 1 15 0; +#X connect 18 2 16 0; +#X connect 18 3 21 0; +#X connect 18 4 22 0; |