aboutsummaryrefslogtreecommitdiff
path: root/help/argument-help.pd
blob: 2cc035f350ab91316865b158c78003406459b8b0 (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
#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;
#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 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
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
\$0 as symbol.;
#X text 13 533 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
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
type as the default value \, the default value will be outputed instead.
;
#X connect 0 0 15 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;