Fake ensembles in Jim
Posted to
tcl
by dbohdan at Tue May 19 16:50:07 GMT 2015
view raw
#!/usr/bin/env jimsh
proc
::ns::blah {a b} {
return
[+
$a
$b
]
}
proc
::ns args {
::ns::[
lindex
$args
0] {*}[
lrange
$args
1 end]
}
puts
[::ns blah 1 2]
Recent Posts
tcl by oldlaptop
8 days ago
tcl by oldlaptop
8 days ago
tcl by mookie
13 days ago
tcl by mookie
13 days ago
tcl by georgtree
14 days ago
tcl by georgtree
14 days ago
tcl by schelte
29 days ago
tcl by emiliano
37 days ago
tcl by fvogel
37 days ago
tcl by emiliano
37 days ago
Submit
New paste
Documentation
From Jabber