diff options
Diffstat (limited to 'doc/pddp')
-rw-r--r-- | doc/pddp/all_about_atom_conversion.pd | 84 | ||||
-rw-r--r-- | doc/pddp/all_about_lists_vs_anythings.pd | 68 |
2 files changed, 82 insertions, 70 deletions
diff --git a/doc/pddp/all_about_atom_conversion.pd b/doc/pddp/all_about_atom_conversion.pd index e2160f04..07687728 100644 --- a/doc/pddp/all_about_atom_conversion.pd +++ b/doc/pddp/all_about_atom_conversion.pd @@ -23,55 +23,61 @@ #X obj 46 293 any; #X obj 75 293 pipe; #X text 499 46 a set that is not a "list" has an undefined type:; -#X obj 528 138 bng 15 250 50 0 empty empty bang 0 20 1 9 -262144 -1 +#X text 7 39 SPECIAL CASES OF "LISTS".; +#X obj 513 560 pddp_open all_about_data_types; +#X obj 513 517 pddp_open all_about_lists_vs_anythings; +#X obj 514 135 bng 15 250 50 0 empty empty bang 0 20 1 9 -262144 -1 -1; -#X obj 574 138 bng 15 250 50 0 empty empty float 0 21 1 9 -262144 -1 +#X obj 563 135 bng 15 250 50 0 empty empty float 0 21 1 9 -262144 -1 -1; -#X obj 622 138 bng 15 250 50 0 empty empty symbol 0 21 1 9 -262144 +#X obj 612 135 bng 15 250 50 0 empty empty symbol 0 21 1 9 -262144 -1 -1; -#X msg 526 73 list this is a set with a cast; -#X msg 533 92 this is a set withOUT a cast; -#X obj 527 117 route bang float symbol list; -#X obj 670 138 bng 15 250 50 0 empty empty list 0 21 1 9 -262144 -1 --1; -#X obj 718 138 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X msg 516 73 list this is a set with a cast; +#X msg 523 92 this is a set withOUT a cast; +#X obj 711 135 bng 15 250 50 0 empty empty list 0 21 1 9 -262144 -1 -1; +#X obj 761 135 bng 15 250 50 0 empty empty UNDEFINED 0 21 1 9 -262144 +-1 -1; +#X obj 514 115 route bang float symbol pointer list; +#X obj 662 135 bng 15 250 50 0 empty empty pointer 0 21 1 9 -262144 +-1 -1; #X msg 10 63 list; #X symbolatom 32 129 10 0 0 0 - - -; -#X text 7 39 SPECIAL CASES OF "LISTS".; #X msg 17 83 list 25; #X msg 24 103 list foo; -#X obj 10 171 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 57 170 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 105 169 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 153 170 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 201 169 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 10 148 route bang float symbol list; #X text 87 104 A "list" of one "symbol" is converted to a "symbol" ; #X text 72 83 A "list" of one "float" is converted to a "float"; #X text 50 63 An empty "list" is converted to a "bang"; -#X obj 513 560 pddp_open all_about_data_types; -#X obj 513 517 pddp_open all_about_lists_vs_anythings; +#X obj 11 169 bng 15 250 50 0 empty empty bang 0 20 1 9 -262144 -1 +-1; +#X obj 60 169 bng 15 250 50 0 empty empty float 0 21 1 9 -262144 -1 +-1; +#X obj 109 169 bng 15 250 50 0 empty empty symbol 0 21 1 9 -262144 +-1 -1; +#X obj 208 169 bng 15 250 50 0 empty empty list 0 21 1 9 -262144 -1 +-1; +#X obj 258 169 bng 15 250 50 0 empty empty UNDEFINED 0 21 1 9 -262144 +-1 -1; +#X obj 11 149 route bang float symbol pointer list; +#X obj 159 169 bng 15 250 50 0 empty empty pointer 0 21 1 9 -262144 +-1 -1; #X connect 15 0 14 0; -#X connect 26 0 28 0; -#X connect 27 0 28 0; -#X connect 28 0 23 0; -#X connect 28 1 24 0; -#X connect 28 2 25 0; -#X connect 28 3 29 0; -#X connect 28 4 30 0; -#X connect 31 0 41 0; -#X connect 34 0 41 0; -#X connect 35 0 32 0; -#X connect 35 0 41 0; -#X connect 41 0 36 0; -#X connect 41 1 37 0; -#X connect 41 2 38 0; -#X connect 41 3 39 0; -#X connect 41 4 40 0; +#X connect 29 0 33 0; +#X connect 30 0 33 0; +#X connect 33 0 26 0; +#X connect 33 1 27 0; +#X connect 33 2 28 0; +#X connect 33 3 34 0; +#X connect 33 4 31 0; +#X connect 33 5 32 0; +#X connect 35 0 47 0; +#X connect 37 0 47 0; +#X connect 38 0 36 0; +#X connect 38 0 47 0; +#X connect 47 0 42 0; +#X connect 47 1 43 0; +#X connect 47 2 44 0; +#X connect 47 3 48 0; +#X connect 47 4 45 0; +#X connect 47 5 46 0; diff --git a/doc/pddp/all_about_lists_vs_anythings.pd b/doc/pddp/all_about_lists_vs_anythings.pd index 77b898dc..7e9a6440 100644 --- a/doc/pddp/all_about_lists_vs_anythings.pd +++ b/doc/pddp/all_about_lists_vs_anythings.pd @@ -13,15 +13,15 @@ -1 -1; #X msg 184 277 list this is a set with a cast; #X msg 191 296 this is a set withOUT a cast; -#X obj 488 138 bng 15 250 50 0 empty empty bang 0 20 1 9 -262144 -1 +#X obj 484 135 bng 15 250 50 0 empty empty bang 0 20 1 9 -262144 -1 -1; -#X obj 535 138 bng 15 250 50 0 empty empty float 0 21 1 9 -262144 -1 +#X obj 533 135 bng 15 250 50 0 empty empty float 0 21 1 9 -262144 -1 -1; -#X obj 630 138 bng 15 250 50 0 empty empty symbol 0 21 1 9 -262144 +#X obj 582 135 bng 15 250 50 0 empty empty symbol 0 21 1 9 -262144 -1 -1; #X msg 486 73 list this is a set with a cast; #X msg 493 92 this is a set withOUT a cast; -#X obj 583 138 bng 15 250 50 0 empty empty list 0 21 1 9 -262144 -1 +#X obj 681 135 bng 15 250 50 0 empty empty list 0 21 1 9 -262144 -1 -1; #X obj 120 527 route list; #X obj 120 546 bng 15 250 50 0 empty empty list -20 7 1 10 -262144 @@ -49,10 +49,10 @@ NOT a "list":; #X text 22 575 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at> ; #X text 239 589 released under the GNU GPL; -#X text 445 576 $Revision: 1.7 $$Date: 2005-07-28 19:45:58 $; -#X text 446 589 $Author: eighthave $; +#X text 445 576 $Revision: 1.8 $$Date: 2006-02-06 04:31:31 $; +#X text 446 589 $Author: matju $; #X text 673 551 updated for Pd 0.38-2; -#X obj 679 138 bng 15 250 50 0 empty empty UNDEFINED 0 21 1 9 -262144 +#X obj 731 135 bng 15 250 50 0 empty empty UNDEFINED 0 21 1 9 -262144 -1 -1; #X msg 502 286 1 1; #X obj 495 312 +; @@ -71,10 +71,6 @@ respective inlet. This does not apply to sets that are NOT "lists". is implicitly considered a list. A message having more than one atom starting with a "symbol" is not \, unless that "symbol" is the selector "list".; -#X obj 11 169 bng 15 250 50 0 empty empty bang 0 20 1 9 -262144 -1 --1; -#X obj 58 169 bng 15 250 50 0 empty empty float 0 21 1 9 -262144 -1 --1; #N canvas 183 32 857 475 has 0; #X obj 96 162 print; #X msg 57 93 list one two three; @@ -206,43 +202,53 @@ symbol] outputs a symbol from its left outlet.; #X text 450 389 When working with sets that might be either "lists" or undefined \, use [prepend]. Many of the "list" handling objects in Pd have odd quirks which can make things difficult.; -#X obj 487 117 route bang float list symbol; -#X obj 10 148 route bang float list symbol; -#X obj 152 169 bng 15 250 50 0 empty empty symbol 0 21 1 9 -262144 +#X obj 484 115 route bang float symbol pointer list; +#X obj 632 135 bng 15 250 50 0 empty empty pointer 0 21 1 9 -262144 +-1 -1; +#X obj 11 169 bng 15 250 50 0 empty empty bang 0 20 1 9 -262144 -1 +-1; +#X obj 60 169 bng 15 250 50 0 empty empty float 0 21 1 9 -262144 -1 +-1; +#X obj 109 169 bng 15 250 50 0 empty empty symbol 0 21 1 9 -262144 -1 -1; -#X obj 105 169 bng 15 250 50 0 empty empty list 0 21 1 9 -262144 -1 +#X obj 208 169 bng 15 250 50 0 empty empty list 0 21 1 9 -262144 -1 -1; -#X obj 201 169 bng 15 250 50 0 empty empty UNDEFINED 0 21 1 9 -262144 +#X obj 258 169 bng 15 250 50 0 empty empty UNDEFINED 0 21 1 9 -262144 +-1 -1; +#X obj 11 149 route bang float symbol pointer list; +#X obj 159 169 bng 15 250 50 0 empty empty pointer 0 21 1 9 -262144 -1 -1; #X connect 0 0 1 0; #X connect 1 0 7 0; #X connect 1 1 8 0; #X connect 2 0 1 0; -#X connect 3 0 55 0; +#X connect 3 0 59 0; #X connect 9 0 1 0; #X connect 10 0 1 0; -#X connect 14 0 54 0; -#X connect 15 0 54 0; +#X connect 14 0 52 0; +#X connect 15 0 52 0; #X connect 17 0 18 0; #X connect 17 1 19 0; #X connect 20 0 17 0; #X connect 21 0 17 0; #X connect 23 0 17 0; #X connect 24 0 17 0; -#X connect 25 0 55 0; +#X connect 25 0 59 0; #X connect 26 0 4 0; -#X connect 26 0 55 0; +#X connect 26 0 59 0; #X connect 39 0 40 0; #X connect 40 0 41 0; #X connect 42 0 40 0; #X connect 44 0 40 0; -#X connect 54 0 11 0; -#X connect 54 1 12 0; -#X connect 54 2 16 0; -#X connect 54 3 13 0; -#X connect 54 4 38 0; -#X connect 55 0 50 0; -#X connect 55 1 51 0; -#X connect 55 2 57 0; -#X connect 55 3 56 0; -#X connect 55 4 58 0; +#X connect 52 0 11 0; +#X connect 52 1 12 0; +#X connect 52 2 13 0; +#X connect 52 3 53 0; +#X connect 52 4 16 0; +#X connect 52 5 38 0; +#X connect 59 0 54 0; +#X connect 59 1 55 0; +#X connect 59 2 56 0; +#X connect 59 3 60 0; +#X connect 59 4 57 0; +#X connect 59 5 58 0; |