Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change Methods programmaly
Message
De
06/03/1999 14:58:17
 
 
À
06/03/1999 08:08:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00194816
Message ID:
00194899
Vues:
19
>Is it possible to change the contens off a method
>during run time.
>
>Kind regards
>
>
>Jan Dorresteijn.

As Craig said, it is not really possible to compose source code at run time. Very rarely though, is there really a need to do this. With good planning, you can design your classes to run code only when it is needed and hook into methods conditionally. If oyu feel you really need the flexibility of running code dynamically, you should look into Randy Pearson's CodeBlock. It is a complex program that allows virtual compilation of code at runtime by parsing your text and breaking it up into chunks that can be run with Macro substitution.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform