Anonymous user
Queue/Definition: Difference between revisions
m
→version 2: undented subroutine fence. -- ~~~~
m (→version 2: simplief the viewQueue subroutine. -- ~~~~) |
m (→version 2: undented subroutine fence. -- ~~~~) |
||
Line 2,651:
call viewQueue
exit /*stick a fork in it, we're done.*/
/*──────────────────────────────────viewQueue subroutine────────────────*/
viewQueue: if queued()==0 then say 'Queue is empty'
else say 'There are' queued() 'elements in the queue'
|