constructor arguments vs. object variables
Posted to
tcl
by mr_calvin at Tue Jul 13 19:27:57 GMT 2021
view raw
constructor {instanceVar} {
namespace
upvar [
namespace
current] instanceVar my(instanceVar)
set
my(instanceVar)
$instanceVar
}
Recent Posts
tcl by oldlaptop
7 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