From f790ccc71a8cdcced09dd969bc87408be1afddd4 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 9 Aug 2006 00:37:37 +0000 Subject: laid out examples of potentially unexpected [print] behavior svn path=/trunk/; revision=5525 --- doc/additional/messageoddness/print_oddness.pd | 31 ++++++++++++++++++++------ 1 file changed, 24 insertions(+), 7 deletions(-) (limited to 'doc/additional/messageoddness') diff --git a/doc/additional/messageoddness/print_oddness.pd b/doc/additional/messageoddness/print_oddness.pd index fdd478b5..7e2a48bf 100644 --- a/doc/additional/messageoddness/print_oddness.pd +++ b/doc/additional/messageoddness/print_oddness.pd @@ -1,9 +1,26 @@ -#N canvas 0 22 454 304 10; -#X obj 216 156 print; -#X msg 168 84 symbol 5; -#X obj 255 122 symbol; -#X msg 253 83 5; -#X text 60 37 neither one outputs what you might expect; +#N canvas 259 51 474 426 10; +#X obj 178 130 print; +#X msg 175 51 1 2 3; +#X msg 189 75 list 1 2 3; +#X msg 202 103 list one 2 three; +#X text 27 12 [print] automatically converts lists that start with +a a numeric atom into a list with an implied selector:; +#X obj 178 270 print; +#X msg 175 191 list word; +#X msg 189 215 symbol word; +#X msg 202 243 word; +#X text 27 152 [print] automatically converts lists with one symbolic +atom into a symbol message:; +#X obj 178 400 print; +#X msg 175 331 1; +#X msg 189 355 float 4; +#X text 27 292 [print] automatically converts all floats to a numeric +atom with an implied float selector:; #X connect 1 0 0 0; #X connect 2 0 0 0; -#X connect 3 0 2 0; +#X connect 3 0 0 0; +#X connect 6 0 5 0; +#X connect 7 0 5 0; +#X connect 8 0 5 0; +#X connect 11 0 10 0; +#X connect 12 0 10 0; -- cgit v1.2.1