#N struct help-set-template1 float x float y symbol s;
#N canvas 155 52 618 738 12;
#X text 39 640 see also:;
#X obj 132 661 append;
#X obj 190 661 getsize;
#X obj 33 686 setsize;
#X obj 158 685 element;
#X msg 211 174 next;
#X floatatom 20 192 5 0 0 0 - - -, f 5;
#X floatatom 109 200 5 0 0 0 - - -, f 5;
#X obj 197 199 pointer;
#X text 274 132 output first scalar in list;
#X text 257 174 output next item;
#X text 266 218 First argument selects template.;
#X text 267 233 Remaining args are names of fields.;
#X obj 31 660 pointer;
#X msg 197 150 traverse pd-help-set-data \, next;
#N canvas 2 79 276 122 help-set-data 1;
#X scalar help-set-template1 39 23 dog \;;
#X scalar help-set-template1 99 73 cat \;;
#X restore 414 639 pd help-set-data;
#N canvas 41 424 514 219 help-set-template1 0;
#X obj 41 87 filledpolygon 9 0 1 0 0 20 0 20 30 0 30;
#X obj 39 34 struct help-set-template1 float x float y symbol s;
#X obj 46 133 drawsymbol s 0 -15 0 s=;
#X restore 414 661 pd help-set-template1;
#X text 86 10 -- set values in a scalar;
#X obj 20 223 set help-set-template1 x y;
#X text 19 174 x value;
#X text 107 181 y value;
#X obj 99 660 get;
#X obj 99 685 struct;
#X obj 21 10 set;
#X msg 276 359 next;
#X obj 262 384 pointer;
#X msg 262 335 traverse pd-help-set-data \, next;
#X obj 40 414 set -symbol help-set-template1 s;
#X symbolatom 40 393 10 0 0 0 - - -, f 10;
#X msg 40 340 symbol monkey;
#X msg 48 366 symbol fish;
#X text 33 273 To set fields whose values are symbols \, give the set
object the "-symbol" argument. (Unfortunately \, you can't mix symbols
and numbers in the same "set" object.), f 56;
#X text 14 34 "Set" takes a pointer to a scalar in its rightmost inlet
\; the remaining inlets set numeric fields. Symbols are handled specially
\, as shown below. Arrays are accessed using the "elemen" object \,
and lists using "text" objects. Only the leftmost inlet is "hot".;
#X text 341 688 updated for Pd version 0.47;
#X text 39 443 You can use the template "-" as a wild card (this may
be slower than if you use a specific template name). Also \, if there
are zero or one fields specified \, you can send a "set" message to
set a new template name and field name:;
#X obj 85 578 set - x;
#X obj 320 619 set;
#X floatatom 85 551 5 0 0 0 - - -, f 5;
#X msg 142 526 traverse pd-help-set-data \, next;
#X obj 142 550 pointer;
#X floatatom 320 560 5 0 0 0 - - -, f 5;
#X msg 384 556 set help-set-template1 x;
#X msg 383 583 set - x;
#X connect 5 0 8 0;
#X connect 6 0 18 0;
#X connect 7 0 18 1;
#X connect 8 0 18 2;
#X connect 14 0 8 0;
#X connect 24 0 25 0;
#X connect 25 0 27 1;
#X connect 26 0 25 0;
#X connect 28 0 27 0;
#X connect 29 0 28 0;
#X connect 30 0 28 0;
#X connect 37 0 35 0;
#X connect 38 0 39 0;
#X connect 39 0 36 1;
#X connect 39 0 35 1;
#X connect 40 0 36 0;
#X connect 41 0 36 0;
#X connect 42 0 36 0;
