aboutsummaryrefslogtreecommitdiff
path: root/tof/iterate-help.pd
blob: c5d5be7acfca9f1508a3daa90d7c47d0327cccdb (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
#N canvas 1184 0 638 689 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 244 Optional argument 1: start value;
#X text 17 -10 tags: stream flow;
#X obj 51 151 iterate;
#X obj 51 182 print;
#X msg 22 116 3;
#X msg 77 113 6;
#X obj 313 148 iterate;
#X obj 386 150 sel 4;
#X obj 313 191 print;
#X msg 312 120 6;
#X text 286 85 Bang: A bang will stop the iteration before it ends.
;
#X text 21 85 Float: Iterates that many times.;
#X obj 35 339 iterate;
#X obj 35 370 print;
#X obj 329 369 print;
#X msg 329 304 4;
#X obj 329 338 iterate 20 2;
#X text 36 242 Inlet 2: start value;
#X msg 34 282 5;
#X msg 67 284 10;
#X msg 98 283 3;
#X msg 110 309 1;
#X msg 148 311 -1;
#X msg 361 419 10 100 3;
#X obj 361 455 iterate;
#X obj 361 495 print;
#X obj 361 575 iterate;
#X obj 361 615 print;
#X msg 360 539 start 15 \, step -0.5 \, 5;
#X text 17 -34 description: iterates through numbers (as a "for" loop).
;
#X text 35 227 Inlet 1: iterations;
#X text 89 452 Iterate 10 times from 100 with a step of 3:;
#X text 89 560 Iterate 5 times from 15 with a step of -0.5:;
#X text 293 259 Optional argument 2: step value;
#X text 36 256 Inlet 3: step value;
#X connect 5 0 6 0;
#X connect 7 0 5 0;
#X connect 8 0 5 0;
#X connect 9 0 11 0;
#X connect 9 0 10 0;
#X connect 10 0 9 0;
#X connect 12 0 9 0;
#X connect 15 0 16 0;
#X connect 18 0 19 0;
#X connect 19 0 17 0;
#X connect 21 0 15 0;
#X connect 22 0 15 1;
#X connect 23 0 15 1;
#X connect 24 0 15 2;
#X connect 25 0 15 2;
#X connect 26 0 27 0;
#X connect 27 0 28 0;
#X connect 29 0 30 0;
#X connect 31 0 29 0;