Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any callback or CallByName function in VFP8
Message
De
26/03/2004 09:22:23
 
 
À
25/03/2004 08:07:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00889546
Message ID:
00889936
Vues:
23
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform