Odielib

Help: test-pqueue
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com or submit via the online form
by Aug 20.

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.