File: append.pd

package info (click to toggle)
pd 0.32p1-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,704 kB
  • ctags: 5,418
  • sloc: ansic: 38,382; tcl: 1,036; makefile: 612; sh: 265
file content (35 lines) | stat: -rw-r--r-- 1,687 bytes parent folder | download
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
#N canvas 397 4 527 430 12;
#X text 319 401 updated for Pd version 0.32;
#X text 9 338 see also:;
#N canvas 164 72 425 146 help-append-template1 0;
#X obj 60 21 template float x float y float z;
#X obj 18 81 filledpolygon z z 0 0 0 20 0 20 30 0 30;
#X restore 302 325 pd help-append-template1;
#X obj 118 384 template;
#X obj 12 358 get;
#X obj 41 358 set;
#X obj 121 359 getsize;
#X obj 175 359 setsize;
#X obj 230 359 element;
#X obj 12 384 sublist;
#X obj 67 384 scalar;
#N canvas 0 0 219 163 help-append-data 1;
#X restore 302 303 pd help-append-data;
#X obj 199 236 pointer;
#X obj 21 10 append;
#X text 75 9 -- add item to a list;
#X msg 199 212 traverse pd-help-append-data \, bang;
#X text 225 193 output the "head" of the list;
#X obj 29 276 append help-append-template1 x y z;
#X floatatom 28 208 5 0 0;
#X obj 29 231 t f f;
#X msg 299 261 \; pd-help-append-data clear;
#X text 27 28 "append" maintains a pointer to a scalar \, or else an empty pointer to the head of a list. You may set the pointer using the leftmost inlet. The creation arguments specify the template of a new scalar to append \, and the names of the fields (there should be at least one) you will wish to initialize. To append an object \, send a number to the leftmost inlet. "Append"'s pointer is updated to point to the new scalar \, and the new pointer is also output.;
#X text 25 139 To insert to the beginning of a list \, you can append to the "head" of the list. You may append objects of different templates using different "append" objects.;
#X obj 67 358 pointer;
#X connect 12 0 17 3;
#X connect 15 0 12 0;
#X connect 18 0 19 0;
#X connect 19 0 17 0;
#X connect 19 1 17 1;
#X connect 19 1 17 2;