Search the Community
Showing results for tags 'queue'.
-
Went looking for a FIFO queue there are a few examples here on the forum but I didn't like the complexit/lack of flexibility in what I found The Queue Ive implemented uses a single dimension array set up as a circular buffer The position and Item Count are stored in an extra slot of the a...
-
This is a simple implementation of two stacks, one of FIFO type and the other of LIFO type. Both are based on the script.dictionary object and are self contained in two functions. If you call the function by passing an element as a parameter, that element is pushed on the stack, if...
-
Hi all, I'm in the middle of writing a print queue monitor. I would like to be able to run this on our print server to be able to track who's printing large amounts and reduce the effect on the environment. I've done a fair chunck of it, but I'm finding that it's causing a bit of a load on t...