aboutsummaryrefslogtreecommitdiff
path: root/desiredata/doc/5.reference/int-help.pd
blob: 6b6de2f6eeacae25eb94eb6b84634d56b7b3fcfd (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
#N canvas 4 30 605 319 12;
#X msg 61 101 bang;
#X floatatom 61 248 0 0 0;
#X floatatom 73 125 0 0 0;
#X floatatom 102 198 0 0 0;
#X text 108 97 outputs the value;
#X text 110 126 sets and outputs the value;
#X text 113 220 creation argument initializes the value;
#X obj 61 222 int 6;
#X msg 73 148 9.6;
#X text 106 148 non-integers get truncated;
#X msg 71 173 -9.6;
#X text 113 173 toward zero;
#X text 136 200 set the value but no output;
#X obj 60 11 int;
#X text 108 12 - STORE AN INTEGER;
#X text 37 33 The int object stores a number \, initialized by its creation argument \, which may be reset using its inlet and output by sending it the "bang" message. The output is truncated to an integer ala Max.;
#X text 315 270 updated for Pd version 0.33;
#X connect 0 0 7 0;
#X connect 2 0 7 0;
#X connect 3 0 7 1;
#X connect 7 0 1 0;
#X connect 8 0 7 0;
#X connect 10 0 7 0;