Jens,
Apparently overloading is not working, but the error message I get is questionable.
I Just created the following classes:
animal()
{
void talk()
{
print "animal talk";
}
}
dog() extends animal
{
void talk(int z)
{
print "dog talk";
}
}
No
hod with one of your own. The signature must be identical.
Note
Only non-static methods may be overridden.
regards
Andreas Gahr
-Ursprüngliche Nachricht-
Von: dgaethofs [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 26. Juli 2004 15:24
An: [EMAIL PROTECTED]
Betreff: [development-axapta]
Normally in OOP there are these "definitions"
override a method:
In an inherited class, you can override a method with the same number of
parameters, where the parameters must be of the same type as the ancestor.
Hence when you call the method, you don't see any difference in the method
c
Dear all,
I have a question about the difference between override and
overload. In the developers guide one talks about the two as if they
are the same. But they are not.
Can we overload methods in Axapta ?
What exactly is meant with overloading in Axapta?
Regards,
Danny
Yahoo!
4 matches
Mail list logo