>>Hello,
>>I don't know, in which cases the function NODEFAULT is used. Can anyone tell me when this function is helpful?
>
>You use it whenever you don't want the default behavior of any parent classes to be executed in addition to the code that you add to a method. If you want to completely override the parent behavior (as opposed to extending it, relying on the code in the parent class(es) to implement some part of the functionality) you add the NODEFAULT statement to the method code.
>
>>Thanks in advance
I understand. But isn't the 'default' superclass method suppressed automatically, if I write code in the method, and do not add DODEFAULT()?
Then it would be only needed to say NODEFAULT() if no code is added in the method, and I want to suppress the class behavior.
Is this correct?
Christian Isberner
Software Consultant