1
#N canvas 432 159 587 516 10;
2
#X text 471 31 part of;
4
#X msg 58 85 1 2 3 4 5;
5
#X msg 69 110 list a list;
8
#X floatatom 200 133 5 0 0 1 priority - -;
9
#X text 45 61 input lists;
10
#X text 50 400 priorities can be floating-point numbers (1.8 has a
11
higher priority then 10);
13
#X text 47 18 fifop:: First-In-First-Out stack with Priorities;
14
#X text 247 80 bang to output the first list that came in \; bang again
15
to output the second list \; and so on;
16
#X text 54 263 [fifop] manages a number of FIFO-stacks \; each stack
17
has a priority value assigned \; the lower the value \, the higher
19
#X text 52 310 banging the object will first empty the FIFO with the
20
highest priority \, then the FIFO with the second highest priority
21
and so on \, until the FIFO with the lowest priority is emptied.;
22
#X text 51 368 when all FIFOs are emptied \, nothing will come out
23
of the object any more.;
24
#X obj 58 223 print FIFO;
25
#X text 52 445 note: you can store any number of lists into the [fifop]
26
\, but just pushing lists on the stack without popping them back will
29
#X text 247 158 query the number of arguments in the LIFO;
30
#X obj 156 209 print info;