Inheritance/Single: Difference between revisions

m
Line 938:
 
=={{header|Lingo}}==
Note: inIn Lingo Classes are represented by "parent scripts". Instead of using new() as in the code below, child classes can also use rawNew() when creating an instance of their parent class. rawNew() creates an instance of a class without calling its initialization function 'new' (constructor).
<lang lingo>-- parent script "Animal"
-- ...</lang>
Anonymous user