Queue/Usage: Difference between revisions

(Nimrod -> Nim)
Line 9:
 
{{Template:See also lists}}
=={{header|8th}}==
<lang forth>
10 q:new \ create a new queue 10 deep
123 q:push
341 q:push \ push 123, 341 onto the queue
q:pop . cr \ displays 123
q:len . cr \ displays 1
q:pop . cr \ displays 341
q:len . cr \ displays 0
</lang>
=={{header|Ada}}==
<lang ada>with FIFO;
Line 33 ⟶ 43:
Sample output:
<pre>Is_Empty TRUE</pre>
 
 
=={{header|ALGOL 68}}==
Anonymous user