Inheritance/Single: Difference between revisions

Content added Content deleted
m (copy edit - wiki link to wikipedia)
m (→‎{{header|Tcl}}: improve requirements)
Line 859: Line 859:


=={{header|Tcl}}==
=={{header|Tcl}}==
{{works with|Tcl|8.6}} <br>
{{works with|Tcl|8.6}} or {{libheader|TclOO}}
<lang tcl>package require TclOO
{{works with|Tcl|8.5}} and the [http://wiki.tcl.tk/TclOO TclOO package]
<lang Tcl>oo::class create Animal {
oo::class create Animal {
# ...
# ...
}
}