Adding a method to the class
Posted to
tcl
by hypnotoad at Fri Apr 05 17:28:07 GMT 2019
view raw
oo::class create Bar {}
oo::objdefine Bar method new_value name {
# Build your template as the variable $body
oo::objdefine [self] method
$name
args
$body
}
Recent Posts
tcl by mookie
4 hours ago
tcl by sebres
1 days ago
tcl by iobates
18 days ago
tcl by iobates
18 days ago
tcl by iobates
18 days ago
tcl by FLORENTIS
22 days ago
tcl by Florentis
22 days ago
tcl by schelte
28 days ago
tcl by iobates
28 days ago
tcl by cgm
29 days ago
Submit
New paste
Documentation
From Jabber