MMF2 Stack/Queue Widget

Created By:

Failing to find a decent Stack or Queue (there is "queue object" but it has no peek or flush functionality) extension for mmf2 i made this widget to carry out stack and queue tasks for me.

Uses only the list object. Widget code is in the "Stack/Queue Widget" list object. copy and past the object into any mmf2 application to utilize it.

2 behavior modes
-stack
-queue

2 data modes
-strings
-numbers

abilities
-push data (insert number or string into stack/queue)
-pop data (stack - LIFO. queue - FIFO. removes from list)
-peek data (stack - LIFO. queue - FIFO. does not remove from list)
-flush data (clears stack/queue)

Download