aboutsummaryrefslogtreecommitdiff
path: root/examples/atoi.pd
blob: c6a507ad29354538dd624d03ab8e2bf4dfe45d26 (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
#N canvas 271 320 749 300 10;
#X obj 125 21 atoi;
#X text 174 19 convert ascii to integer;
#X obj 72 178 atoi;
#X floatatom 72 201 4 0 0;
#X obj 72 132 makefilename %4d;
#X symbolatom 72 155 10 0 0;
#X floatatom 72 110 4 0 0;
#X floatatom 177 110 4 0 0;
#X obj 177 132 makefilename 0%d;
#X floatatom 280 110 4 0 0;
#X obj 280 132 makefilename 0x%d;
#X text 74 92 decimal;
#X text 178 94 octal;
#X text 280 93 sedecimal;
#X floatatom 417 109 4 0 0;
#X obj 417 127 makefilename %d;
#X floatatom 502 106 4 0 0;
#X text 506 93 base;
#X obj 417 146 pack s 2;
#X msg 417 86 101;
#X msg 443 86 10011;
#X text 241 214 symbols starting with "0x" are converted as hex-numbers;
#X text 242 228 symbols starting with "0" are converted as octal numbers;
#X text 241 243 symbols starting with numbers but "0" are converted as decimal numbers;
#X connect 2 0 3 0;
#X connect 4 0 5 0;
#X connect 5 0 2 0;
#X connect 6 0 4 0;
#X connect 7 0 8 0;
#X connect 8 0 5 0;
#X connect 9 0 10 0;
#X connect 10 0 5 0;
#X connect 14 0 15 0;
#X connect 15 0 18 0;
#X connect 16 0 18 1;
#X connect 18 0 2 0;
#X connect 19 0 14 0;
#X connect 20 0 14 0;