From c45b62641956eea55b98f7bcaba98fd85fc623d3 Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Tue, 29 Sep 2009 18:23:49 +0000 Subject: Modified getdollarzero so it works with the root keyword svn path=/trunk/externals/tof/; revision=12490 --- help/getdollarzero-help.pd | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'help/getdollarzero-help.pd') diff --git a/help/getdollarzero-help.pd b/help/getdollarzero-help.pd index 1f9f127..04aebab 100644 --- a/help/getdollarzero-help.pd +++ b/help/getdollarzero-help.pd @@ -1,13 +1,20 @@ -#N canvas 372 409 472 395 10; -#X msg 42 73 bang; -#X obj 41 149 print; -#X obj 42 111 getdollarzero; -#X symbolatom 87 148 10 0 0 0 - - -; -#X obj 209 112 getdollarzero-abs0; -#X text 17 22 Get the dollar zero of a patch.; -#X text 28 199 Argument: How much recursion you want (If set to 1 \, -it will get the parent's dollar zero \, if set to 2 \, it will get -the parent's parent's dollar zero \, etc); +#N canvas 275 172 587 373 10; +#X msg 42 193 bang; +#X obj 41 269 print; +#X obj 42 231 getdollarzero; +#X symbolatom 87 268 10 0 0 0 - - -; +#X obj -1 29 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577 +0; +#X text 4 73 author: mrtoftrash@gmail.com; +#X text 3 50 tags: initialization patch; +#X text 4 94 version: 2009-09-23 (release 2: added "root" keyword) +; +#X text 204 162 ARGUMENT:; +#X text 4 28 description: gets the \$0 of a patch.; +#X text 203 181 float: How much recursion you want (If set to 1 \, +it will get the parent patch's \$0. If set to 2 \, it will get the +parent's parent's \$0 \, etc); +#X text 200 234 root: Get the \$0 of the root patch; #X connect 0 0 2 0; #X connect 2 0 1 0; #X connect 2 0 3 0; -- cgit v1.2.1