struct::queue example
Posted to
tcl
by jdc at Thu Mar 21 07:41:24 GMT 2013
view raw
package
require struct::queue
set
Q [struct::queue]
$Q
put T1
$Q
put T2
$Q
put T3 T4 T5
while
{[
$Q
size]} {
puts
[
$Q
get]
}
$Q
destroy
Recent Posts
tcl by schelte
6 days ago
tcl by Bombo
10 days ago
tcl by egavilan
19 days ago
tcl by bch
25 days ago
tcl by Bradipo
25 days ago
tcl by aspect
25 days ago
tcl by Bradipo
25 days ago
tcl by Bradipo
25 days ago
tcl by Bradipo
25 days ago
lilypond by Bradipo
26 days ago
Submit
New paste
Documentation
From Jabber