Same. Code smell.

On Tue, Dec 3, 2019 at 10:19 AM MB Software Solutions, LLC <
[email protected]> wrote:

> I would agree that it seems kludgey.  Worked for a "genius" last gig and
> he used it and it was amazing to see it in action operate easily but my
> spidey sense said "yeah, no...I don't like it."
>
> On 12/3/2019 11:10 AM, Jürgen Wondzinski wrote:
> > Sounds a little bit like "bad design", but if life demands such
> > constructs....
> >
> > You can always get the code from the upmost level by using the
> "QuatroDot"
> > operator  ::
> > like  class::MyMethod()
> >
> > If you would need one in between, then you need to do some clever IF
> > branching in the beginning of each level's code by providing a parameter
> > when calling the method:
> >
> > PROC MyMethod
> > LPARAMETER lSkipIt
> > IF lSkipIt
> >       RETURN DODEFAULT()
> > ENDIF
> > && regular code goes here
> >
> >
> > wOOdy
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: ProFox <[email protected]> Im Auftrag von Paul Newton
> > Gesendet: Dienstag, 3. Dezember 2019 17:00
> > An: '[email protected]' <[email protected]>
> > Betreff: Calling code in parent's parent class
> >
> > Hi all
> > Let's say that I have the following situation:
> >
> > GreatGrandParent -> GrandParent -> Parent -> Class
> >
> > In Class I want to bypass the code in Parent but call the code in either
> > GrandParent OR GreatGrandParent.
> >
> > Is this possible and, if so, how?  Many thanks
> >
> > Paul Newton
> >
> >
> >
> > --- StripMime Report -- processed MIME parts --- multipart/alternative
> >    text/plain (text body -- kept)
> >    text/html
> > ---
> >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/CAAwxvUmn2urq_Qi0Na=u9fj2vdrc6g2vkyfju_6ej_fcask...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to