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 florentis
2 days ago
tcl by Florentis
7 days ago
tcl by Florentis
7 days ago
tcl by Florentis
7 days ago
tcl by Florentis
7 days ago
tcl by FLORENTIS
7 days ago
tcl by florentis
9 days ago
tcl by florentis
19 days ago
tcl by torsten
22 days ago
tcl by Florentis
26 days ago
Submit
New paste
Documentation
From Jabber