aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/listelement-help.pd
blob: 3b86fcf3e3289ed24a2a889f54733be573c7cd57 (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 103 143 732 416 10;
#X obj 268 79 cnv 15 460 15 empty empty empty 20 12 0 14 -200249 -66577
0;
#X obj 279 108 cnv 15 450 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 8 381 cnv 15 720 30 empty empty empty 20 12 0 14 -200249 -66577
0;
#X obj 8 5 cnv 15 720 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 279 265 cnv 15 450 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 268 25 cnv 15 460 15 empty empty empty 20 12 0 14 -200249 -66577
0;
#X text 271 25 Arguments:;
#X obj 268 327 cnv 15 460 15 empty empty empty 20 12 0 14 -200249 -66577
0;
#X text 271 327 Outlets:;
#X obj 8 25 cnv 15 250 15 empty empty empty 20 12 0 14 -200249 -66577
0;
#X text 11 25 Usage:;
#X obj 8 46 cnv 15 250 30 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 8 83 cnv 15 250 289 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 271 79 Inlets: (Read left to right \, inlet "0" being the leftmost)
;
#X text 282 108 0: (Leftmost);
#X text 282 265 1: (Rightmost);
#X text 12 5 SUMMERY:;
#X text 73 5 Outputs one element of a list as selected by an integer.
;
#X floatatom 23 320 5 0 0 0 - - -;
#X obj 23 251 listelement 0;
#X floatatom 109 216 5 0 0 0 - - -;
#X obj 100 320 display;
#X obj 159 320 print;
#X msg 61 166 1 3 hello 8 13;
#X obj 23 134 pack 0 0;
#X floatatom 74 103 5 0 0 0 - - -;
#X floatatom 23 103 5 0 0 0 - - -;
#X obj 87 52 listelement;
#X text 286 299 Integer - index (selects the position of an element).
;
#X text 16 387 GridFlow 0.8.0;
#X text 282 50 One - see inlet 0: (rightmost);
#X text 280 139 List - An element in a list is chosen by the index
(an integer that selects the position of an element). This element
is sent to the outlet and can be viewed in the console using the print
object or in a number box if displaying an integer. For example: integer
"0" selects and outputs the first element in a list \, integer "1"
selects and outputs the second element in a list \, integers "-1" selects
and outputs the last element in a list.;
#X text 287 356 One - see inlet 0: (leftmost);
#X connect 19 0 18 0;
#X connect 19 0 21 0;
#X connect 19 0 22 0;
#X connect 20 0 19 1;
#X connect 23 0 19 0;
#X connect 24 0 19 0;
#X connect 25 0 24 1;
#X connect 26 0 24 0;