Jump to content

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 subroutine─────────────*/
viewQueue: if queued()==0 then say 'Queue is empty'
else say 'There are' queued() 'elements in the queue'
Cookies help us deliver our services. By using our services, you agree to our use of cookies.