Queue/Definition: Difference between revisions

m
→‎version 2: changed subroutine fence. -- ~~~~
m (→‎version 2: added DO-END comment label, added whitespace. -- ~~~~)
m (→‎version 2: changed subroutine fence. -- ~~~~)
Line 2,605:
call viewQueue
exit /*stick a fork in it, we're done.*/
/*──────────────────────────────────VIEWQUEUE subroutine────────────────*/
/*─────────────────────────────────────viewQueue subroutine─────────────*/
viewQueue: procedure
if queued()==0 then say 'Queue is empty'