aboutsummaryrefslogtreecommitdiff
path: root/help/argument-help.pd
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2009-06-19 17:00:34 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2009-06-19 17:00:34 +0000
commite0267013c4de07cf495b4488a66181e4027d88a4 (patch)
tree750de46dd8d97625f4ff902ca6edbe1fd701ecc9 /help/argument-help.pd
parentd285825bc8d34f791f3adc07caa836457b66b7bd (diff)
Added a few externals to tof
svn path=/trunk/externals/tof/; revision=11801
Diffstat (limited to 'help/argument-help.pd')
-rw-r--r--help/argument-help.pd47
1 files changed, 47 insertions, 0 deletions
diff --git a/help/argument-help.pd b/help/argument-help.pd
new file mode 100644
index 0000000..c274ce8
--- /dev/null
+++ b/help/argument-help.pd
@@ -0,0 +1,47 @@
+#N canvas 305 118 476 537 10;
+#X obj 66 482 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj -11 19 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577
+0;
+#X text -6 75 author: mrtoftrash@gmail.com;
+#X text -6 96 version: 2009-04-14 (initial release);
+#X text -7 60 tags: initialization;
+#X text -6 18 description: outputs an inital argument. Outputs a default
+one if no initial argument is set. Can also check that an argument
+is of a particular type.;
+#X obj 13 187 argument 1;
+#X text 5 247 If a second argument is set \, its value will be used
+as the default value. The default value is used only if there is no
+parent argument OR if the type of the parent argument does not match
+the type of the default one.;
+#X obj 4 322 argument 1 32;
+#X obj 12 167 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 4 298 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 4 349 print;
+#X obj 13 208 print;
+#X text 6 135 The first argument selects the nth parent argument to
+output.;
+#X text 92 321 <-Will output 32 because there are no parent arguments.
+;
+#X text 87 183 <-Should output the first parent argument. But in this
+case \, the parent (the containing patch) has no arguments and this
+example will not output anything.;
+#X text 137 428 -- Example --;
+#X text 5 449 Inside the following abstraction \, three [argument]
+objects are linked to arguments 1 \, 2 and 3;
+#X obj 158 347 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 158 369 argument;
+#X obj 158 395 print;
+#X text 218 370 <-Outputs the \$0 as symbol;
+#X text 172 506 <- open it;
+#X obj 66 506 argument-abs a b;
+#X connect 0 0 23 0;
+#X connect 6 0 12 0;
+#X connect 8 0 11 0;
+#X connect 9 0 6 0;
+#X connect 10 0 8 0;
+#X connect 18 0 19 0;
+#X connect 19 0 20 0;