Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to mDot Macro Expansion?
Message
De
20/10/2016 16:04:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to mDot Macro Expansion?
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01642180
Message ID:
01642180
Vues:
72
LOCAL ;
  lcCmd

m.lcCmd = "m.gnTest = 1"

&lcCmd  && Not mDotted but works as expected

&m.lcCmd && "Unrecognized command verb"

m.&lcCmd && Works as expected
Is the last version the "correct" way to do this if you want the benefits of mDotting?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform