aboutsummaryrefslogtreecommitdiff
path: root/deque/src/deque-help.pd
blob: 1e756465d4ff4b11881174b3e96a892c40794f8e (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
#N canvas 0 26 512 480 10;
#X text 89 3 deque : double-ended message queue;
#X text 47 27 INLETS:;
#X text 58 40 1 - control messages;
#X text 58 53 2 - unshift (list);
#X text 57 67 3 - push (list);
#X text 253 28 OUTLETS:;
#X text 267 41 1 - dequeued messages;
#X text 198 445 Bryan Jurish <moocow@ling.uni-potsdam.de>;
#X obj 51 391 deque;
#X msg 51 103 push foo bar;
#X msg 57 125 unshift baz bonk;
#X msg 77 180 pop;
#X text 241 177 "pop" : remove & outlet from end;
#X text 226 200 "shift" : remove & outlet from front;
#X msg 80 201 shift;
#X text 208 102 "push MSG" : add MSG to end;
#X text 187 125 "unshift MSG" : add MSG to front;
#X msg 86 223 bang;
#X text 232 222 "bang" : alias for "shift";
#X msg 92 261 clear;
#X msg 93 284 flush;
#X text 225 256 "clear" : clear all elements;
#X msg 97 328 list bink bop;
#X msg 106 351 list fink fop;
#X text 216 328 LIST (inlet-2) : like "unshift LIST";
#X text 216 352 LIST (inlet-3) : like "push LIST";
#X text 225 278 "flush" : output front-to-back & clear;
#X msg 70 157 size;
#X text 233 156 "size" : get number of stored messages;
#X obj 81 414 print deque-status;
#X obj 51 438 print deque-content;
#X text 266 55 2 - status messages;
#N canvas 260 141 494 344 META 0;
#X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 165 AUTHOR Bryan Jurish <moocow@ling.uni-potsdam.de>;
#X text 12 5 KEYWORDS control storage anything_op;
#X text 12 45 DESCRIPTION double-ended message queue;
#X text 12 65 INLET_0 bang push unshift size pop shift bang clear flush
;
#X text 12 85 INLET_1 list;
#X text 12 105 INLET_2 list;
#X text 12 125 OUTLET_0 anything;
#X text 12 145 OUTLET_1 anything;
#X restore 459 456 pd META;
#X connect 8 0 30 0;
#X connect 8 1 29 0;
#X connect 9 0 8 0;
#X connect 10 0 8 0;
#X connect 11 0 8 0;
#X connect 14 0 8 0;
#X connect 17 0 8 0;
#X connect 19 0 8 0;
#X connect 20 0 8 0;
#X connect 22 0 8 1;
#X connect 23 0 8 2;
#X connect 27 0 8 0;