>Following proper OOPS techniques, Thomas Ganes suggestion is the correct one. Create a second method in A and override it in B. When the Init calls the method, it will call the local version. If you need the B of the local method to call the parent version, then use DODEFAULT().
>
>
Thomas and Marcia suggested this technique. We're also using hook methods.
So, line 10 will become a separate method in the Base class and the derived class would only need to overwrite one method. Hopefully line 10 can be easily created as a separate method.
Otherwise I would use Borislav's idea of invoking this line conditionally based on some property.
In either case, this assumes that we would need to change class A.
If it's not broken, fix it until it is.
My Blog