Respond to an unknown method call: Difference between revisions
Content deleted Content added
'try' _is_ correct |
m →{{header|Tcl}}: corrected requirements |
||
Line 425: | Line 425: | ||
=={{header|Tcl}}== |
=={{header|Tcl}}== |
||
{{works with|Tcl|8. |
{{works with|Tcl|8.5}} or {{libheader|TclOO}} |
||
<lang tcl>package require TclOO |
|||
# First create a simple, conventional class and object |
|||
oo::class create Example { |
oo::class create Example { |
||
method foo {} { |
method foo {} { |