1
#N canvas 2 165 568 508 10;
2
#X text 471 31 part of;
5
#X msg 58 85 1 2 3 4 5;
6
#X msg 69 110 list a list;
9
#X floatatom 200 143 5 0 0 1 priority - -;
10
#X text 45 61 input lists;
11
#X text 247 90 bang to output the last list that came in \; bang again
12
to output the second last list \; and so on;
13
#X obj 58 223 print LIFO;
14
#X text 47 18 lifop:: Last-In-First-Out stack with Priorities;
15
#X text 54 263 [lifop] manages a number of LIFO-stacks \; each stack
16
has assigned a priority value \; the lower the value \, the higher
18
#X text 52 312 banging the object will first empty the LIFO with the
19
highest priority \, then the LIFO with the second highest priority
20
until the LIFO with the lowest priority is emptied.;
21
#X text 52 363 when all LIFOs are emptied \, nothing will come out
22
of the object any more.;
23
#X text 50 400 priorities can be floating-point numbers (1.8 has a
24
higher priority then 10);
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 obj 112 203 print info;
30
#X text 247 168 query the number of arguments in the LIFO;