aboutsummaryrefslogtreecommitdiff
path: root/help/argument-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'help/argument-help.pd')
-rw-r--r--help/argument-help.pd72
1 files changed, 38 insertions, 34 deletions
diff --git a/help/argument-help.pd b/help/argument-help.pd
index 2cc035f..7c8ac56 100644
--- a/help/argument-help.pd
+++ b/help/argument-help.pd
@@ -1,50 +1,54 @@
-#N canvas 1064 8 505 644 10;
-#X obj 82 587 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
+#N canvas 53 62 922 529 10;
+#X obj 496 461 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 -3 68 author: mrtoftrash@gmail.com;
#X text -5 89 version: 2009-04-14 (initial release);
-#X text -4 47 tags: initialization;
-#X obj 8 257 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X obj 5 346 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X obj 5 397 print;
-#X obj 8 305 print;
-#X obj 8 429 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X obj 8 477 print;
-#X text 204 608 <- open it;
-#X obj 8 280 tof/argument 1;
-#X obj 5 370 tof/argument 1 32;
-#X obj 8 451 tof/argument;
-#X obj 82 611 ./argument-abs a b;
-#X text 106 127 [argument n default];
+#X obj 422 131 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 419 220 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 419 271 print;
+#X obj 422 179 print;
+#X obj 422 303 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 422 351 print;
+#X text 618 482 <- open it;
+#X obj 422 154 tof/argument 1;
+#X obj 419 244 tof/argument 1 32;
+#X obj 422 325 tof/argument;
+#X obj 496 485 ./argument-abs a b;
+#X text 9 132 [argument n default];
#X text -4 17 description: Outputs the patch's creation arguments individually.
;
-#X text 6 154 [argument] outputs the n-th creation argument.;
-#X text 9 174 If the n-th creation argument is not defined \, [argument]
-can optionally output a default one.;
-#X text 102 273 This help patch is a file and therefore has no creation
+#X text 516 147 This help patch is a file and therefore has no creation
arguments. The [argument] to the left has no default value \, so nothing
will be outputed.;
-#X text 100 449 With no arguments \, [argument] outputs the patch's
+#X text 514 323 With no arguments \, [argument] outputs the patch's
\$0 as symbol.;
-#X text 13 533 Inside the following abstraction \, three [argument]
+#X text 427 407 Inside the following abstraction \, three [argument]
objects output the creation arguments. Look inside for an explenation
of the printed output.;
-#X text 103 586 <- bang to print;
-#X text 120 363 As stated before \, this help patch is a file and has
+#X text 517 460 <- bang to print;
+#X text 534 237 As stated before \, this help patch is a file and has
no creation arguments. But the [argument] to the left has a default
value and will output it.;
-#X text 7 209 Also \, if the n-th creation argument is not of the same
+#X text 10 155 argument 1: patch's creation argument to output.;
+#X text 9 172 argument 2: default value to output if the patch's creation
+argument is not set or if the wrong type.;
+#X text 8 209 inlet 1 bang: outputs the n-th patch creation argument
+or the default value if there is no n-th creation argument.;
+#X text 9 245 outlet 1 anything: outputs the n-th patch creation argument
+or the default value if there is no n-th creation argument.;
+#X text 5 287 If the patch's n-th creation argument is not of the same
type as the default value \, the default value will be outputed instead.
;
-#X connect 0 0 15 0;
+#X text -4 46 tags: initialization patch;
+#X connect 0 0 14 0;
+#X connect 4 0 11 0;
#X connect 5 0 12 0;
-#X connect 6 0 13 0;
-#X connect 9 0 14 0;
-#X connect 12 0 8 0;
-#X connect 13 0 7 0;
-#X connect 14 0 10 0;
+#X connect 8 0 13 0;
+#X connect 11 0 7 0;
+#X connect 12 0 6 0;
+#X connect 13 0 9 0;