File: list-find-help.pd

package info (click to toggle)
pd-list-abs 0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 756 kB
  • sloc: makefile: 289
file content (62 lines) | stat: -rw-r--r-- 1,823 bytes parent folder | download | duplicates (3)
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
#N canvas 0 26 552 533 10;
#X floatatom 159 259 5 0 0 0 - - -;
#X obj 144 331 list-find;
#X obj 202 293 loadbang;
#X obj 101 449 print FOUND_AT;
#X text 59 21 [list-find];
#N canvas 516 236 450 300 collect 0;
#X obj 195 37 inlet;
#X obj 41 37 inlet;
#X obj 41 144 outlet;
#X msg 195 74 set;
#X text 143 140 1993-2004 by Karlheinz Essl;
#X text 143 160 vs. 1.1;
#X obj 41 99 list trim;
#X obj 41 74 list prepend add2;
#X connect 0 0 3 0;
#X connect 1 0 7 0;
#X connect 3 0 2 0;
#X connect 6 0 2 0;
#X connect 7 0 6 0;
#X restore 144 395 pd collect;
#X obj 144 309 t a b;
#X msg 159 237 0;
#X msg 189 237 4;
#X text 120 53 Find position(s) of a value in a list.;
#X text 120 72 Inlet0: value to search;
#X text 120 91 Inlet1: list to search in.;
#X msg 144 184 seven;
#X msg 202 315 0 1 2 3 4 5 6 seven eight 0 0;
#X msg 144 206 symbol eight;
#X msg 144 417;
#X text 120 110 Outlet0: stream of found positions;
#X floatatom 202 354 5 0 0 1 hits - -;
#X msg 219 237 100;
#X text 120 129 Outlet1: after list was completely scanned \, report
number of elements found.;
#N canvas 491 26 494 396 META 0;
#X text 12 25 LICENSE SIBSD;
#X text 12 145 AUTHOR Frank Barknecht;
#X text 12 165 HELP_PATCH_AUTHORS Frank Barknecht. "pd meta" information
added by Jonathan Wilkes for Pd version 0.42.;
#X text 12 5 KEYWORDS control list_op;
#X text 12 125 OUTLET_1 float;
#X text 12 45 DESCRIPTION find position(s) of a value in a list;
#X text 12 65 INLET_0 float;
#X text 12 85 INLET_1 list;
#X text 12 105 OUTLET_0 float;
#X restore 483 503 pd META;
#X connect 0 0 6 0;
#X connect 1 0 3 0;
#X connect 1 0 5 0;
#X connect 1 1 17 0;
#X connect 2 0 13 0;
#X connect 5 0 15 0;
#X connect 6 0 1 0;
#X connect 6 1 5 1;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X connect 12 0 6 0;
#X connect 13 0 1 1;
#X connect 14 0 6 0;
#X connect 18 0 0 0;