Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 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