Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Oriented Programming
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00134380
Message ID:
00138871
Vues:
9
Hi Mark,

>Can the parent call overridden child methods?

Yes. Remember, that was only a basic example. :) YOu can for example store the name of the class (IOW, the PRG file name) in a Class property and then use something like (That's my first attempt to use the PRE tag :) ):
  lcClass = toThis[ccClass]
  &lcClass(@toThis,"method",....)
>Heck, if you wanted to, you could write a complete compiler in FP

I did several times...

>that would take FP++ and turn it into regular FP, with OOP improvements.

But not for turninf FP++ into FP code. :)

>That's why I was careful not to say it couldn't be done, just that it was a practical impossibility.

I still think it's practical possible, not for an entire application, but for parts of it. :)

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform