aboutsummaryrefslogtreecommitdiff
path: root/divmod-help.pd
blob: 5e0018be4ae124d539d8c1a3a4048a8917c0cce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#N canvas 328 264 464 316 12;
#X floatatom 54 239 5 0 0;
#X floatatom 54 127 5 0 0;
#X floatatom 129 127 5 0 0;
#X obj 54 172 divmod 8 6;
#X text 146 170 use creation arguments to set initial;
#X text 146 186 values for inlets;
#X msg 23 83 bang;
#X text 69 82 calculate and output result now;
#X floatatom 129 219 5 0 0;
#X text 182 222 modulo;
#X text 106 242 result of division;
#X text 186 127 takes int's only!;
#X text 12 19 divmod :: calculate division and modulo;
#X text 92 35 outputs results even when right inlet changes;
#X connect 1 0 3 0;
#X connect 2 0 3 1;
#X connect 3 0 0 0;
#X connect 3 1 8 0;
#X connect 6 0 3 0;