#N canvas 1 88 464 556 10; #N canvas 0 22 450 300 (subpatch) 0; #X array test 100 float 0; #X coords 0 1 99 -1 200 140 1; #X restore 193 71 graph; #X obj 22 54 arraysize test; #X floatatom 22 78 5 0 0 0 - - -; #X msg 22 31 bang; #X text 24 5 arraysize returns the size of an array when banged.; #X floatatom 22 163 5 0 0 0 - - -; #X msg 22 112 bang; #X obj 22 139 arraysize; #X msg 65 112 set test; #X obj 228 259 pddp/pddplink ../all_about_arrays.pd -text all_about_arrays ; #X text 124 258 For more info:; #X floatatom 22 245 5 0 0 0 - - -; #X msg 22 194 bang; #X obj 22 221 arraysize; #X msg 80 197 symbol test; #X msg 22 383 bang; #X obj 22 405 expr size("test"); #X floatatom 22 427 5 0 0 0 - - -; #X msg 166 383 bang; #X obj 166 415 expr size("$s1"); #X floatatom 166 437 5 0 0 0 - - -; #X msg 223 383 symbol test; #X msg 166 467 bang; #X floatatom 166 521 5 0 0 0 - - -; #X msg 259 467 symbol test; #X obj 166 499 expr size("$s2"); #X text 44 302 NOTE: This feature is already available with [expr] as shown below. Since [expr] is already included with Pd-Vanilla and [arraysize] is not \, it is recommended to use [expr] to get the size of an array. This will make your patches more portable.; #X connect 1 0 2 0; #X connect 3 0 1 0; #X connect 6 0 7 0; #X connect 7 0 5 0; #X connect 8 0 7 0; #X connect 12 0 13 0; #X connect 13 0 11 0; #X connect 14 0 13 1; #X connect 15 0 16 0; #X connect 16 0 17 0; #X connect 18 0 19 0; #X connect 19 0 20 0; #X connect 21 0 19 0; #X connect 22 0 25 0; #X connect 24 0 25 1; #X connect 25 0 23 0;