#N canvas 594 65 708 526 12;
#X text 100 175 index;
#X obj 106 24 tabread;
#X floatatom 67 176 0 0 9 0 - - - 0;
#X floatatom 67 292 0 0 0 0 - - - 0;
#N canvas 0 22 450 300 (subpatch) 0;
#X array table-ex 10 float 3;
#A 0 1 4 2 8 5 6 1 4 2 8;
#X coords 0 10 10 0 250 200 1 0 0;
#X restore 391 151 graph;
#X text 191 240 creation argument;
#X text 193 256 gives array name;
#X text 176 208 change array name;
#X text 169 24 - read numbers from a table;
#X text 467 471 updated for Pd version 0.43;
#X obj 158 472 tabwrite~;
#X obj 92 472 tabwrite;
#X obj 300 472 tabsend~;
#X obj 366 472 tabreceive~;
#X obj 232 472 tabplay~;
#X obj 27 472 tabread4;
#X text 51 61 The tabread object reads values from an array ("table")
according to an index. The index is rounded down to the next lower
integer. Values in the table correspond to indices starting at 0 Indices
outside of the range are replaced by the nearest index in range (from
0 to 9 in this example)., f 84;
#X obj 415 392 ../2.control.examples/15.array;
#X obj 415 415 ../2.control.examples/16.more.arrays;
#X text 36 396 Check also the "array" examples from the Pd tutorial
by clicking and opening the files to the right ====>, f 52;
#X text 26 442 see also these objects:;
#X obj 67 248 tabread table-ex;
#X msg 77 208 set table-ex;
#X text 105 293 output = table-ex[index];
#N canvas 746 749 401 220 init-table 0;
#X obj 35 42 loadbang;
#X msg 35 74 \; table-ex resize 10 \; table-ex bounds 0 10 10 0 \;
table-ex xlabel -0.2 0 1 2 3 4 5 6 7 8 9 \; table-ex ylabel -0.3 0
1 2 3 4 5 6 7 8 9 10 \; table-ex 0 1 4 2 8 5 6 1 4 2 8;
#X connect 0 0 1 0;
#X restore 545 127 pd init-table;
#X connect 2 0 21 0;
#X connect 21 0 3 0;
#X connect 22 0 21 0;
