Inheritance/Single: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 85:
AutoHotkey_L is prototype-based. However, for convenience, class-syntax may be used to create a base object.
<lang AutoHotkey>dog := new Collie
MsgBox, % "A " dog.__Class " is a " dog.base.base.__Class " and is part of the " dog.kingdom " kingdom."
class Animal {
|