(Automatically adding template at the end of the page.) |
(Adding message template to the top of the page) |
||
Line 1: | Line 1: | ||
{{message|Write the content here to display this box}} | |||
EAL (Extended Action Language) is fantastic as it allows you to create a complete system without bringing out Visual Studio or C# at all (nothing is wrong with C# – but it is amazing to be able to execute the model alone). It had a limitation: when overriding methods, there was no way to call the base class implementation of the method. | EAL (Extended Action Language) is fantastic as it allows you to create a complete system without bringing out Visual Studio or C# at all (nothing is wrong with C# – but it is amazing to be able to execute the model alone). It had a limitation: when overriding methods, there was no way to call the base class implementation of the method. | ||
Revision as of 22:13, 16 June 2024
Write the content here to display this box
EAL (Extended Action Language) is fantastic as it allows you to create a complete system without bringing out Visual Studio or C# at all (nothing is wrong with C# – but it is amazing to be able to execute the model alone). It had a limitation: when overriding methods, there was no way to call the base class implementation of the method.
Now that is fixed by introducing the EAL operation “base” – it works just as in C#:
Given the OnCreate method (that is called when an object is created).
The RootClass.OnCreate
And the Person.OnCreate
Note the self.base.OnCreate
call that calls the superclass implementation of OnCreate (just as in C#)
And when creating a new Person, I got this output:
…as in the RootClass added “RA” and the Person added “PA.”