Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to mDot Macro Expansion?
Message
From
20/10/2016 16:04:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to mDot Macro Expansion?
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01642180
Message ID:
01642180
Views:
71
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
Next
Reply
Map
View

Click here to load this message in the networking platform