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 mookie
9 days ago
tcl by cgm
10 days ago
tcl by egavilan
16 days ago
tcl by smlckz
17 days ago
tcl by Guest86
22 days ago
tcl by mookie
24 days ago
tcl by greycat
29 days ago
tcl by mookie
36 days ago
tcl by mookie
36 days ago
tcl by mookie
42 days ago
Submit
New paste
Documentation
From Jabber