Queue/Usage: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 164: | Line 164: | ||
--- |
--- |
||
END |
END |
||
=={{header|Astro}}== |
|||
<lang python>let myQueue = Queue() |
|||
myQueue.push 'foo' |
|||
myQueue.push 'bar' |
|||
myQueue.push 'baz' |
|||
print myQueue.pop() # => 'foo' |
|||
print myQueue.pop() # => 'bar' |
|||
print myQueue.pop() # => 'baz'</lang> |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |