aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/all_about_dollarsign_zero.pd
blob: c2cc36a53d5fba3c2d33b2e0923967e72c5897aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#N canvas 0 0 448 462 10;
#X obj 1 1 cnv 15 445 20 empty \$0-pddp.cnv.header dollarsign_zero
20 10 1 18 -261106 -33289 0;
#X obj 407 2 pddp/pddplink http://puredata.info/dev/pddp -text pddp
;
#X text 20 36 \$0 is a special variable that is guaranteed to be unique
to each abstraction.;
#X obj 43 89 float \$0;
#X obj 43 69 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X floatatom 43 111 5 0 0 0 - - -;
#X obj 43 343 s \$0-local-variable-ex;
#X obj 196 321 r \$0-local-variable-ex;
#X floatatom 43 321 5 0 0 0 - - -;
#X floatatom 196 343 5 0 0 0 - - -;
#X text 20 136 It can be used to make local variables in Pd. To test
it:;
#X obj 38 182 pddp/pddplink all_about_dollarsign_zero.pd;
#X text 20 156 1) Open another instance of this help patch and move
it next to this one so both are visible.;
#X text 20 206 2) Compare the two send/receive pairs below:;
#X text 39 227 -- Normal (global) send/receive pair --;
#X text 39 301 -- Local send/receive pair --;
#X floatatom 43 249 5 0 0 0 - - -;
#X floatatom 196 271 5 0 0 0 - - -;
#X obj 43 271 s normal-variable-ex;
#X obj 196 249 r normal-variable-ex;
#X text 35 377 see also: Manual 2.6.5;
#X obj 1 440 cnv 15 445 20 empty \$0-pddp.cnv.footer empty 20 12 0
14 -233017 -33289 0;
#N canvas 44 246 494 344 META 0;
#X text 12 85 HELP_PATCH_AUTHORS Dave Sabine \, May 5 \, 2003 . Jonathan
Wilkes revised the patch to conform to the PDDP template for Pd version
0.42.;
#X text 12 65 LIBRARY PDDP;
#X text 12 25 KEYWORDS;
#X text 12 5 GENRE all_about_pd;
#X text 12 45 DESCRIPTION how to use \$0 to simulate locality in Pd
;
#X restore 392 442 pd META;
#N canvas 11 306 428 145 Related_objects 0;
#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -261106 -33289 0;
#X text 7 2 \$0- Related Objects;
#X obj 20 38 pddp/helplink ggee/sendlocal;
#X obj 20 58 pddp/helplink ggee/receivelocal;
#X restore 103 442 pd Related_objects;
#X obj 6 442 pddp/pddplink all_about.pd -text All About Pd;
#X obj 35 392 pddp/pddplink ../2.control.examples/13.locality.pd -text
doc/2.control.examples/13.locality.pd;
#X obj 35 407 pddp/pddplink all_about_scope_and_locality.pd;
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 7 0 9 0;
#X connect 8 0 6 0;
#X connect 16 0 18 0;
#X connect 19 0 17 0;