aboutsummaryrefslogtreecommitdiff
path: root/tof/iterate-help.pd
blob: 80dad321b09a951b096797385bf71115c57b83ca (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#N canvas 1 53 638 606 10;
#X obj 12 -33 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577
0;
#X text 17 1 author: mrtoftrash@gmail.com;
#X text 17 12 version: 2009-05-07 (initial release);
#X text 293 204 Optional argument 1: start value;
#X text 17 -10 tags: stream flow;
#X obj 51 162 print;
#X msg 51 103 3;
#X msg 86 103 6;
#X obj 313 138 iterate;
#X obj 386 140 sel 4;
#X obj 313 167 print;
#X msg 313 110 6;
#X text 286 75 Bang: A bang will stop the iteration before it ends.
;
#X text 21 75 Float: Iterates that many times.;
#X obj 35 309 iterate;
#X obj 35 340 print;
#X obj 329 309 print;
#X msg 329 244 4;
#X obj 329 278 iterate 20 2;
#X text 36 212 Inlet 2: start value;
#X msg 34 252 5;
#X msg 67 254 10;
#X msg 98 253 3;
#X msg 110 279 1;
#X msg 148 281 -1;
#X msg 361 349 10 100 3;
#X obj 361 375 iterate;
#X obj 361 405 print;
#X obj 360 495 print;
#X msg 360 439 start 15 \, step -0.5 \, 5;
#X text 17 -34 description: iterates through numbers (as a "for" loop).
;
#X text 35 197 Inlet 1: iterations;
#X text 89 372 Iterate 10 times from 100 with a step of 3:;
#X text 79 450 Iterate 5 times from 15 with a step of -0.5:;
#X text 293 219 Optional argument 2: step value;
#X text 36 226 Inlet 3: step value;
#N canvas 224 151 494 344 META 0;
#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 125 AUTHOR Thomas Ouellet Fredericks;
#X text 12 5 KEYWORDS control;
#X text 12 45 INLET_0 bang float start step;
#X text 12 65 INLET_1 float;
#X text 12 85 INLET_2 float;
#X text 12 105 OUTLET_0 float;
#X restore 583 520 pd META;
#X obj 51 131 iterate;
#X obj 360 465 iterate;
#X connect 6 0 37 0;
#X connect 7 0 37 0;
#X connect 8 0 10 0;
#X connect 8 0 9 0;
#X connect 9 0 8 0;
#X connect 11 0 8 0;
#X connect 14 0 15 0;
#X connect 17 0 18 0;
#X connect 18 0 16 0;
#X connect 20 0 14 0;
#X connect 21 0 14 1;
#X connect 22 0 14 1;
#X connect 23 0 14 2;
#X connect 24 0 14 2;
#X connect 25 0 26 0;
#X connect 26 0 27 0;
#X connect 29 0 38 0;
#X connect 37 0 5 0;
#X connect 38 0 28 0;