Priority queue: Difference between revisions

m
→‎version 1: added highlighting.
m (→‎version 1: relaxed a comparison.)
m (→‎version 1: added highlighting.)
Line 3,706:
=={{header|REXX}}==
===version 1===
Programming note:   this REXX version allows any number (with or without decimals, say, '''5.7''') for the priority, including negative numbers.
<lang rexx>/*REXX program implements a priority queue with insert/display/delete the top task.*/
#=0; @.= /*0 tasks; nullify the priority queue.*/