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 rhobart
1 days ago
tcl by rhobart
1 days ago
tcl by rhobart
2 days ago
tcl by Bradipo
2 days ago
tcl by rhobart
2 days ago
tcl by sssc
6 days ago
tcl by mookie
22 days ago
tcl by JMN
29 days ago
tcl by JMN
30 days ago
tcl by mookie
31 days ago
Submit
New paste
Documentation
From Jabber