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
junk by bcharder
33 days ago
tcl by egavilan
42 days ago
tcl by Stu
44 days ago
tcl by Stu
44 days ago
tcl by oldlaptop
77 days ago
tcl by oldlaptop
77 days ago
tcl by Molnija Bjornsson
82 days ago
tcl by Molnija Bjornsson
82 days ago
tcl by zmoment
82 days ago
tcl by zmoment
82 days ago
Submit
New paste
Documentation
From Jabber