Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Aug 22, 2019
1 parent 79f9449 commit 4990c88
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions Examples/Vol.3-Appendix.Pd/Data.Structures/7.Array/5.symbol.pd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#N struct 1023-DS float x float y array 1023-table 1023-element;
#N struct 1023-element symbol sym float y;
#N canvas 319 72 598 623 12;
#N struct 1003-DS float x float y array 1003-table 1003-element;
#N struct 1003-element symbol sym float y;
#N canvas 89 72 598 623 12;
#X obj 475 376 pointer;
#N canvas 317 275 503 265 template 0;
#X text 74 45 Data Structure named "\$0-DS" holding coordinates floats
Expand All @@ -17,13 +17,13 @@ of symbols. In this case \, the [array] object can't be used instead
of [element] and [set]. But we can still use [array] instead of [setsize]/[getsize].
, f 53;
#X msg 36 361 n \, dump;
#X obj 36 443 t s b;
#X obj 36 457 t s b;
#X obj 246 418 + 1;
#X obj 215 418 f;
#X obj 234 521 array size -s \$0-DS \$0-table;
#X text 261 496 <= sets size;
#X floatatom 234 495 3 0 0 0 - - -;
#X obj 36 393 dir;
#X obj 36 393 dir, f 5;
#X obj 215 447 element \$0-DS \$0-table;
#X msg 233 393 0;
#X text 96 360 <= click;
Expand All @@ -36,10 +36,9 @@ a series of symbols with the file names that we use to populate the
array with the [element] and [set] objects.;
#X text 82 563 To set a symbol \, the [set] object needs a -symbol
flag!;
#N canvas 715 191 725 334 \$0-display 1;
#X scalar 1023-DS 10 250 \; 6.curve.pd 0 \; 1.Array.pd 0 \; 2.[element].pd
0 \; 7.sort.pd 0 \; 3.[array].pd 0 \; 4.symbol.pd 0 \; 5.x-y.pd 0 \;
\;;
#N canvas 753 339 725 334 \$0-display 1;
#X scalar 1003-DS 10 250 \; 1.Array.pd 0 \; 2.[element].pd 0 \; 3.curve.pd
0 \; 4.[array].pd 0 \; 5.symbol.pd 0 \; 6.x-y.pd 0 \; \;;
#X coords 0 334 1 333 0 0 0;
#X restore 387 160 pd \$0-display;
#X obj 76 115 initmess \; pd-\$0-display clear \, vis 1 \; \$0-pointer
Expand All @@ -59,7 +58,7 @@ coordinate. This allows the element to be dragged horizontally., f
#X obj 86 139 struct \$0-element symbol sym float y;
#X restore 387 108 pd \$0-element;
#X obj 36 521 set -symbol \$0-element sym;
#X obj 74 393 trigger float bang;
#X obj 57 421 t f b;
#X connect 0 0 2 2;
#X connect 2 0 8 1;
#X connect 2 0 12 1;
Expand All @@ -71,7 +70,7 @@ coordinate. This allows the element to be dragged horizontally., f
#X connect 7 0 12 0;
#X connect 10 0 8 0;
#X connect 11 0 5 0;
#X connect 11 1 23 0;
#X connect 11 2 23 0;
#X connect 12 0 22 1;
#X connect 13 0 7 1;
#X connect 19 0 0 0;
Expand Down

0 comments on commit 4990c88

Please sign in to comment.