Help: test-pqueue

Not logged in
Tcl 2015 Conference, Manassas/VA, US, Oct 19-23
Send your abstracts to tclconference@googlegroups.com by Aug 24.

The "test-pqueue" command:

This command is used for testing the PQueue object. There are one or more arguments, each of the form:
(1)
NUMBER/TEXT
(2)
^
(3)
-v

Form (1) arguments add an entry to the queue with value NUMBER and content TEXT. Form (2) pops off the queue entry with the smallest value. Form (3) (the -v option) causes the heap to be displayed after each subsequent operation.