aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/set-help.pd
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2005-07-29 19:01:22 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2005-07-29 19:01:22 +0000
commit18c47474a668d7bbbabd525686355c16a45f6ec4 (patch)
tree034625615da54aafc44661aabfcaf8f82578f007 /pd/doc/5.reference/set-help.pd
parent819bc4309313e32809dff7cfd99df930c5055082 (diff)
Mac to work with tcl/tk 8.4.5; pd extension added automatically in saveas
bug fix writing aiff gfiles bug fix (tcl error messages when starting open dialogs) svn path=/trunk/; revision=3385
Diffstat (limited to 'pd/doc/5.reference/set-help.pd')
-rw-r--r--pd/doc/5.reference/set-help.pd92
1 files changed, 54 insertions, 38 deletions
diff --git a/pd/doc/5.reference/set-help.pd b/pd/doc/5.reference/set-help.pd
index 227b29b4..d9750558 100644
--- a/pd/doc/5.reference/set-help.pd
+++ b/pd/doc/5.reference/set-help.pd
@@ -1,45 +1,61 @@
-#N struct help-set-template1 float x float y;
-#N canvas 300 3 583 365 12;
-#X text 19 263 see also:;
-#X obj 137 308 template;
-#X obj 112 284 append;
-#X obj 170 284 getsize;
-#X obj 237 284 setsize;
-#X obj 215 308 element;
-#X obj 11 308 sublist;
-#X obj 78 308 scalar;
-#X msg 210 155 next;
-#X obj 21 10 get;
-#X floatatom 19 173 5 0 0;
-#X floatatom 108 181 5 0 0;
-#X obj 196 180 pointer;
-#X text 273 113 output first scalar in list;
-#X text 256 155 output next item;
-#X text 262 204 First argument selects template.;
-#X text 263 219 Remaining args are names of fields.;
-#X obj 11 283 pointer;
-#X msg 196 131 traverse pd-help-set-data \, next;
+#N struct help-set-template1 float x float y symbol s;
+#N canvas 355 10 598 568 12;
+#X text 34 478 see also:;
+#X obj 127 499 append;
+#X obj 185 499 getsize;
+#X obj 252 499 setsize;
+#X obj 153 523 element;
+#X obj 26 523 sublist;
+#X msg 211 174 next;
+#X floatatom 20 192 5 0 0 0 - - -;
+#X floatatom 109 200 5 0 0 0 - - -;
+#X obj 197 199 pointer;
+#X text 274 132 output first scalar in list;
+#X text 257 174 output next item;
+#X text 263 223 First argument selects template.;
+#X text 264 238 Remaining args are names of fields.;
+#X obj 26 498 pointer;
+#X msg 197 150 traverse pd-help-set-data \, next;
#N canvas 0 0 276 122 help-set-data 1;
-#X scalar help-set-template1 39 23 \;;
-#X scalar help-set-template1 99 73 \;;
-#X restore 377 244 pd help-set-data;
-#N canvas 164 72 425 146 help-set-template1 0;
+#X scalar help-set-template1 39 23 dog \;;
+#X scalar help-set-template1 99 73 cat \;;
+#X restore 389 461 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 60 21 template float x float y;
-#X restore 377 266 pd help-set-template1;
+#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 389 483 pd help-set-template1;
#X text 86 10 -- set values in a scalar;
-#X obj 19 204 set help-set-template1 x y;
-#X text 18 155 x value;
-#X text 106 162 y value;
-#X obj 79 283 get;
-#X text 19 32 "Set" takes a pointer to a scalar in its rightmost inlet
+#X obj 20 223 set help-set-template1 x y;
+#X text 19 174 x value;
+#X text 107 181 y value;
+#X obj 94 498 get;
+#X text 14 34 "Set" takes a pointer to a scalar in its rightmost inlet
\; the remaining inlets set numeric values of fields. Only the leftmost
inlet is "hot". You can't "set" arrays or sublists. Instead \, you
can get pointers into them using "element" and "sublist" (probably
not working yet) and set individual items.;
-#X text 336 342 updated for Pd version 0.35;
-#X connect 8 0 12 0;
-#X connect 10 0 22 0;
-#X connect 11 0 22 1;
-#X connect 12 0 22 2;
-#X connect 18 0 12 0;
+#X text 333 530 updated for Pd version 0.39;
+#X obj 94 523 struct;
+#X obj 21 10 set;
+#X msg 257 389 next;
+#X obj 243 414 pointer;
+#X msg 243 365 traverse pd-help-set-data \, next;
+#X obj 21 444 set -symbol help-set-template1 s;
+#X symbolatom 21 423 10 0 0 0 - - -;
+#X msg 21 370 symbol monkey;
+#X msg 29 396 symbol fish;
+#X text 25 300 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.);
+#X connect 6 0 9 0;
+#X connect 7 0 19 0;
+#X connect 8 0 19 1;
+#X connect 9 0 19 2;
+#X connect 15 0 9 0;
+#X connect 27 0 28 0;
+#X connect 28 0 30 1;
+#X connect 29 0 28 0;
+#X connect 31 0 30 0;
+#X connect 32 0 31 0;
+#X connect 33 0 31 0;