From a798f231a5d048cb9126003b856281d508946703 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 7 Dec 2008 20:33:15 +0000 Subject: committed improved versions from Roman Haefeli svn path=/trunk/; revision=10429 --- .../list_must_have_2_or_more_elements.pd | 11 ++++++++-- .../route_mixing_float_and_symbol_arguments.pd | 25 ++++++++++++++-------- 2 files changed, 25 insertions(+), 11 deletions(-) (limited to 'doc/additional/messageoddness') diff --git a/doc/additional/messageoddness/list_must_have_2_or_more_elements.pd b/doc/additional/messageoddness/list_must_have_2_or_more_elements.pd index 0d4bb946..da0dee16 100644 --- a/doc/additional/messageoddness/list_must_have_2_or_more_elements.pd +++ b/doc/additional/messageoddness/list_must_have_2_or_more_elements.pd @@ -1,4 +1,4 @@ -#N canvas 119 484 463 507 10; +#N canvas 271 55 464 710 10; #X floatatom 243 167 5 0 0 0 - - -; #X symbolatom 291 166 10 0 0 0 - - -; #X obj 196 187 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 @@ -38,9 +38,14 @@ forget! A series whose element is a float has an implied "list" selector!) #X obj 59 471 *; #X msg 223 429 3; #X msg 256 428 list 3; -#X obj 208 470 *~; +#X obj 208 481 *~; #X text 19 311 These two disagree about 0 element lists:; #X text 19 401 These two disagree about 1 element lists:; +#X obj 140 597 route 1; +#X msg 140 575 1 3; +#X obj 125 622 *~; +#X text 24 528 [route] doesn't seem to automatically convert 1 element +lists:; #X connect 0 0 4 0; #X connect 1 0 5 0; #X connect 3 0 2 0; @@ -65,3 +70,5 @@ forget! A series whose element is a float has an implied "list" selector!) #X connect 24 0 25 1; #X connect 26 0 28 1; #X connect 27 0 28 1; +#X connect 31 0 33 1; +#X connect 32 0 31 0; diff --git a/doc/additional/messageoddness/route_mixing_float_and_symbol_arguments.pd b/doc/additional/messageoddness/route_mixing_float_and_symbol_arguments.pd index 5047b19e..b9d07a21 100644 --- a/doc/additional/messageoddness/route_mixing_float_and_symbol_arguments.pd +++ b/doc/additional/messageoddness/route_mixing_float_and_symbol_arguments.pd @@ -1,15 +1,21 @@ -#N canvas 58 168 454 304 10; -#X obj 155 147 route 1 bla; -#X msg 147 44 list bla hu; -#X obj 147 185 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +#N canvas 793 278 453 550 10; +#X obj 122 255 route 1 bla; +#X msg 118 113 list bla hu; +#X obj 114 293 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; -#X obj 182 189 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +#X obj 149 297 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; -#X obj 230 188 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +#X obj 197 296 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; -#X msg 96 44 bla hu; -#X msg 187 104 1 two; -#X msg 231 104 list 1 two; +#X msg 86 85 bla hu; +#X msg 159 147 1 two; +#X msg 203 147 list 1 two; +#X text 32 22 mixing different data types in one route object is not +supported and thus leads to unexpected behaviour.; +#X msg 169 220 0; +#X text 197 218 <- unexpectedly matches 'bla'; +#X text 134 83 <- unexpectedly not matching; +#X text 200 113 unexpectedly matches 'bla'; #X connect 0 0 2 0; #X connect 0 1 3 0; #X connect 0 2 4 0; @@ -17,3 +23,4 @@ #X connect 5 0 0 0; #X connect 6 0 0 0; #X connect 7 0 0 0; +#X connect 9 0 0 0; -- cgit v1.2.1