September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
5
Task/Queue-Usage/OoRexx/queue-usage.rexx
Normal file
5
Task/Queue-Usage/OoRexx/queue-usage.rexx
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
q = .queue~new -- create an instance
|
||||
q~queue(3) -- adds to the end, but this is at the front
|
||||
q~push(1) -- push on the front
|
||||
q~queue(2) -- add to the end
|
||||
say q~pull q~pull q~pull q~isempty -- should display all and be empty
|
||||
Loading…
Add table
Add a link
Reference in a new issue