A queue is a FIFO, first in first out, collection of typed values. Items are added and removed from the queue.
TMP_Queue.inc
This is a template for generating a ring queue of values.
gen_MyUDTQueue.param
This provides the parameters for generating a queue of MyUDT's.
Generating:
PbReplace gen_MyUDTQueue.param
Tokens:
- TVAL
- The data type of each item in the queue. In this case MyUDT
- VALREF
- Determines how items are passed to routines. In this case since the keys are udt's, they are passed ByRef (which is the default if not specified).