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 dandyn
6 days ago
tcl by greycat
23 days ago
tcl by DasBrain
25 days ago
tcl by DasBrain
30 days ago
tcl by kevin_walzer
34 days ago
tcl by Bradipo
41 days ago
tcl by Bradipo
44 days ago
tcl by Bradipo
44 days ago
tcl by apn
44 days ago
tcl by Bradipo
46 days ago
Submit
New paste
Documentation
From Jabber