aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/listelement-help.pd
blob: e1aa3bf9316c4b3d9c3ed9ce040f37893854033a (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
#N canvas 92 61 509 554 10;
#X obj 4 0 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 6 323 cnv 15 500 17 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 4 176 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 4 199 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 9 200 Inlet_0;
#X text 206 178 Inlets (2);
#X text 215 325 Outlets (1);
#X obj 6 429 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 212 428 Arguments (1);
#X obj 5 261 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 6 344 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 10 262 Inlet_1;
#X obj 11 1 listelement;
#X floatatom 262 142 5 0 0 0 - - -;
#X floatatom 281 88 5 0 0 0 - - -;
#X obj 195 140 print;
#X msg 195 63 1 3 hello 8 13;
#X obj 195 111 cnv 15 93 17 empty empty empty 20 12 0 14 -241291 -66577
0;
#X text 7 346 Outlet_0;
#X text 14 231 LIST;
#X text 10 460 INTEGER;
#X obj 195 111 listelement 0;
#X text 78 231 Accepts a list of numbers or symbols.;
#X text 10 25 Outputs one element from a list as selected by an integer.
;
#X text 10 373 INTEGER;
#X text 11 387 SYMBOL;
#X text 75 373 The element selected by the index 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.;
#X text 75 460 An integer acts as an index \, it selects the position
of an element in a list. The selected element is output \, 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 77 289 Changes the value of the argument i.e. changes the index
into the list to get a different element.;
#X text 11 290 INTEGER;
#X text 396 1 GridFlow 0.9.0;
#X connect 14 0 21 1;
#X connect 16 0 21 0;
#X connect 21 0 13 0;
#X connect 21 0 15 0;