Priority queue: Difference between revisions

m
(Added uBasic/4tH version)
Line 6,899:
 
=={{header|uBasic/4tH}}==
This implementation inserts items using a binary search. Hence, no dequeuingsorting is required, since all entries are always in order of priority. It also allows for listing of valid entries.
<lang>b = -1 ' b points to last entry on the queue
 
Line 6,984:
0 OK, 0:750
</pre>
 
=={{header|VBA}}==
<lang VB>Type Tuple
374

edits