Priority queue: Difference between revisions

Line 1,051:
=={{header|ATS}}==
 
I am treating more positive numbers as higher in priority, because that way the taskslist comeof "Tasks" comes out in a plausible order. It is simple to reverse that order. (In fact, the direction of priorities could easily be made configurable by the template mechanism.)
 
Any value of type '''int''' may be used as a priority number.
1,448

edits