Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Methods programmaly
Message
From
06/03/1999 14:58:17
 
 
To
06/03/1999 08:08:02
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00194816
Message ID:
00194899
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform