Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any callback or CallByName function in VFP8
Message
From
26/03/2004 09:22:23
 
 
To
25/03/2004 08:07:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00889546
Message ID:
00889936
Views:
22
In VFP you can use macro substitution or EVALUATE() function to execute ANY command or expression composed in string variable at run-time, not only to call the method by its name.

Try something like this:
Result = oObject.&cMethod..(<parameters>)
where cMethod is the string variable containing method name.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Previous
Reply
Map
View

Click here to load this message in the networking platform