aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro/23.implied_selectors.pd
blob: d7f22b15b3f026092718ffcdcaec2e723fb63c61 (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
#N canvas 10 40 620 460 12;
#X obj 8 -29 cnv 15 400 40 empty empty implied_selectors 20 12 0 24
-228992 -66577 0;
#X msg 246 123 534 2334;
#X msg 322 123 5 cats;
#X floatatom 260 194 5 0 0 0 - - -;
#X symbolatom 308 193 10 0 0 0 - - -;
#X obj 213 214 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144
-1 -1;
#X obj 213 170 route bang float symbol list;
#X obj 260 214 bng 15 250 50 0 empty empty float -4 23 1 12 -262144
-1 -1;
#X obj 308 214 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144
-1 -1;
#X obj 357 214 bng 15 250 50 0 empty empty list -2 23 1 12 -262144
-1 -1;
#X obj 406 214 bng 15 250 50 0 empty empty undefined -18 23 1 12 -262144
-1 -1;
#X msg 206 93 12;
#X obj 42 353 list;
#X obj 42 377 pddp/print;
#X msg 42 324 list 1 2 3;
#X obj 252 377 pddp/print;
#X msg 252 324 float 9876;
#X obj 252 353 float;
#X msg 136 93 0.0003;
#X msg 385 123 1 2 3 4 5 6 7 8 9;
#X text 14 29 In the case of messages whose first element is a numeric
atom \, the selector is implied (either a "float" or a "list"):;
#X msg 76 93 -999;
#X obj 142 377 pddp/print;
#X obj 142 353 route list;
#X msg 142 324 list 1 2 3 4;
#X obj 353 377 pddp/print;
#X floatatom 353 355 9 0 0 0 - - -;
#X msg 353 324 float -0.9876;
#X obj 472 377 pddp/print;
#X msg 472 324 float 782.32;
#X obj 472 353 trigger float;
#X text 12 259 Most objects output using the implied selector \, even
converting messages with an explicit "list" or "float" selector:;
#X connect 1 0 6 0;
#X connect 2 0 6 0;
#X connect 3 0 7 0;
#X connect 4 0 8 0;
#X connect 6 0 5 0;
#X connect 6 1 3 0;
#X connect 6 2 4 0;
#X connect 6 3 9 0;
#X connect 6 4 10 0;
#X connect 11 0 6 0;
#X connect 12 0 13 0;
#X connect 14 0 12 0;
#X connect 16 0 17 0;
#X connect 17 0 15 0;
#X connect 18 0 6 0;
#X connect 19 0 6 0;
#X connect 21 0 6 0;
#X connect 23 0 22 0;
#X connect 24 0 23 0;
#X connect 26 0 25 0;
#X connect 27 0 26 0;
#X connect 29 0 30 0;
#X connect 30 0 28 0;