#N canvas 343 45 514 281 12;
#X text 102 17 -- declare the fields in a data structure.;
#N canvas 345 476 491 176 help-template1 0;
#X obj 60 21 struct struct-1 float x float y symbol dog array weasel
struct-2, f 42;
#X text 40 76 In this example \, the "struct-1" structure is defined
in which "x" and "y" are "floats" \, i.e. \, numbers \, but "dog" is
a symbol and "weasel" is an array of objects of structure "struct-2".
, f 56;
#X restore 338 162 pd help-template1;
#N canvas 427 361 463 166 help-template2 0;
#X text 26 74 Here is one which specifies only the floating point "y"
\; it's used for the elements of the array shown in the other template.
, f 57;
#X obj 87 23 struct struct-2 float y;
#X restore 338 189 pd help-template2;
#X obj 56 169 drawpolygon;
#X text 56 149 see also:;
#X obj 151 169 drawnumber;
#X obj 236 170 plot;
#X text 59 234 updated for Pd version 0.35;
#X obj 35 16 struct;
#X text 30 55 There should be one "struct" object in each Pd window
you are using as a data structure template. The arguments specify the
types and names of the fields \; and for array fields \, a third argument
specifies the template that the array elements should belong to.;
