File: list-replace-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 (37 lines) | stat: -rw-r--r-- 1,390 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
#N canvas 0 31 583 391 10;
#X msg 287 266 0 1 2 3 4 5;
#X obj 194 343 print RESULT;
#X obj 240 244 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
-1 0;
#X floatatom 240 265 5 0 0 0 - - -;
#X obj 194 298 list-replace 2;
#X text 50 32 list-replace: Replace the list starting at position POS
with a new list \, overwriting the old elements.;
#X text 49 92 POS is zerobased and can be negative \, in which case
it is taken from the end of the orig. list.;
#X text 49 67 Argument: default POS;
#X text 49 129 If POS exceeds the length of the original list in whatever
direction \, is is prepended resp. appended to the orig. list.;
#X msg 194 190 list aa bb;
#X msg 194 216 list aa bb cc dd ee ff gg;
#X msg 194 167 aa;
#N canvas 472 161 494 396 META 0;
#X text 12 25 LICENSE SIBSD;
#X text 12 155 AUTHOR Frank Barknecht;
#X text 12 175 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 75 INLET_0 anything;
#X text 12 95 INLET_1 float;
#X text 12 115 INLET_2 list;
#X text 12 135 OUTLET_0 list;
#X text 12 45 DESCRIPTION replace the list starting at position POS
with a new list \, overwriting the old elements;
#X restore 523 358 pd META;
#X connect 0 0 4 2;
#X connect 2 0 3 0;
#X connect 3 0 4 1;
#X connect 4 0 1 0;
#X connect 9 0 4 0;
#X connect 10 0 4 0;
#X connect 11 0 4 0;