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 Stu
6 days ago
tcl by rhobart
19 days ago
tcl by stevel
23 days ago
tcl by dandyn
31 days ago
tcl by dandyn
31 days ago
tcl by dandyn
31 days ago
tcl by dandyn
33 days ago
tcl by dandyn
33 days ago
tcl by emiliano
44 days ago
tcl by dandyn
44 days ago
Submit
New paste
Documentation
From Jabber