aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/all_about_dollarsign_zero.pd
diff options
context:
space:
mode:
authorJonathan Wilkes <jancsika1@users.sourceforge.net>2010-08-25 00:12:22 +0000
committerJonathan Wilkes <jancsika1@users.sourceforge.net>2010-08-25 00:12:22 +0000
commit2f615ffbf13571a928856b8207d1ea215e857e3f (patch)
treefba96137a8474e9dce1555095a52990d5cece732 /doc/pddp/all_about_dollarsign_zero.pd
parentb98e2bc00355aae29d3e67ca41eda8cedfe0100d (diff)
Revised and added to all_about help patches
svn path=/trunk/; revision=13941
Diffstat (limited to 'doc/pddp/all_about_dollarsign_zero.pd')
-rw-r--r--doc/pddp/all_about_dollarsign_zero.pd57
1 files changed, 57 insertions, 0 deletions
diff --git a/doc/pddp/all_about_dollarsign_zero.pd b/doc/pddp/all_about_dollarsign_zero.pd
new file mode 100644
index 00000000..5a6c6acc
--- /dev/null
+++ b/doc/pddp/all_about_dollarsign_zero.pd
@@ -0,0 +1,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 pddp/help.pd -text help;
+#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;