Priority queue: Difference between revisions

Content added Content deleted
Line 7,072: Line 7,072:


=={{header|VBScript}}==
=={{header|VBScript}}==
I wrote this priority queue in a class. It uses a dynamic array to implement the class. Function out_of_order must be adapted to the data.
I wrote this priority queue in a class. It uses a dynamic array to implement the class. Function out_of_order must be adapted to the data. Run it with CScript.
<lang vb>
<lang vb>
option explicit
option explicit