Inheritance/Single: Difference between revisions
Content deleted Content added
m →{{header|Tcl}}: formatting |
added slate language |
||
Line 371:
#functions go here...
end</lang>
=={{header|Slate}}==
<lang slate>
define: #Animal &parents: {Cloneable}.
define: #Dog &parents: {Animal}.
define: #Cat &parents: {Animal}.
define: #Lab &parents: {Dog}.
define: #Collie &parents: {Dog}.
</lang>
=={{header|Smalltalk}}==
|