Inheritance/Single: Difference between revisions
Added AppleScript example.
(Added AppleScript example.) |
|||
Line 96:
ENDOBJECT
</lang>
=={{header|AppleScript}}==
<lang applescript>script Animal
end script
script Dog
property parent : Animal
end script
script Cat
property parent : Animal
end script
script Lab
property parent : Dog
end script
script Collie
property parent : Dog
end script</lang>
=={{header|Arturo}}==
|