#N canvas 765 108 617 572 12;
#X msg 50 168 bang;
#X obj 72 408 float 6.5;
#X floatatom 72 438 6 0 0 0 - - - 0;
#X floatatom 73 196 6 0 0 0 - - - 0;
#X floatatom 132 378 6 0 0 0 - - - 0;
#X text 44 102 The float object stores a number \, initialized by its
creation argument \, which may be reset using its inlet and output
by sending it the "bang" message. Sending a number sets a new value
and outputs it., f 71;
#X text 178 379 sets the value;
#X text 150 409 creation argument initializes the value;
#X floatatom 463 216 5 0 0 0 - - - 0;
#X text 92 167 output the value;
#X text 123 195 set and output the value;
#X obj 463 192 r float-help;
#X msg 95 254 send float-help;
#X obj 106 311 makefilename %f;
#X msg 106 287 42.23;
#X text 225 302 symbols that look like floats are converted., f 23
;
#X symbolatom 106 337 10 0 0 0 - - - 0;
#X text 183 337 <= type a number on a symbol box;
#X text 346 524 updated for Pd version 0.48;
#X text 36 526 see also:;
#X obj 193 527 value;
#X obj 239 527 send;
#X floatatom 464 289 5 0 0 0 - - - 0;
#X obj 464 265 v float-help;
#X obj 464 245 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X obj 110 527 int;
#X obj 141 527 symbol;
#N canvas 995 162 565 399 Dealing_with_"\$0" 0;
#X text 36 33 '\$0' - the patch ID number used to force locality in
Pd - is widely used in send and receive names \, speacially in abstractions
so each copy has local connections instead of global., f 67;
#X floatatom 341 339 5 0 0 0 - - - 0;
#X obj 149 295 float 1.5;
#X msg 149 257 send \$1-x;
#X obj 149 225 f \$0;
#X obj 149 198 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X obj 288 221 value \$0-x;
#X obj 288 192 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X floatatom 288 256 5 0 0 0 - - - 0;
#X floatatom 390 221 5 0 0 0 - #0-x - 0;
#X msg 44 254 send \$1;
#X obj 44 200 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000;
#X obj 44 225 symbol \$0-y;
#X obj 341 298 receive \$0-y;
#X text 435 220 <= right click for properties, f 10;
#X text 33 99 Since "\$0" only works inside objects \, if you need
to set a send name with it \, you need to use something like a symbol
or a float object. Note that "\$0" is also used in send/receive names
in GUIs as well as variable names in value objects., f 68;
#X connect 3 0 2 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 6 0 8 0;
#X connect 7 0 6 0;
#X connect 10 0 2 0;
#X connect 11 0 12 0;
#X connect 12 0 10 0;
#X connect 13 0 1 0;
#X restore 383 466 pd Dealing_with_"\$0";
#X floatatom 464 321 5 0 0 0 - float-help - 0;
#X text 510 321 <= right click for properties, f 10;
#X text 213 248 send to a named object such as a GUI \, a receive or
value objects =>, f 34;
#X text 196 453 open subpatch to see how to deal with '\$0' ======>
, f 25;
#X obj 64 17 float;
#X text 106 16 - store a (floating point) number;
#X obj 64 45 f;
#X text 96 46 - abbreviation;
#X msg 85 223 10.5 12.9 A;
#X obj 72 468 print float;
#X text 171 223 list gets truncated to the first item;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 37 0;
#X connect 3 0 1 0;
#X connect 4 0 1 1;
#X connect 11 0 8 0;
#X connect 12 0 1 0;
#X connect 13 0 16 0;
#X connect 14 0 13 0;
#X connect 16 0 1 0;
#X connect 23 0 22 0;
#X connect 24 0 23 0;
#X connect 36 0 1 0;
