Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to mDot Macro Expansion?
Message
From
20/10/2016 17:10:16
Antonio Lopes (Online)
BookMARC
Coimbra, Portugal
 
 
To
20/10/2016 17:07:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
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:
01642188
Views:
45
>>Just to add a small precision: the macro expands user memory variables, so that
>>
>>
>>_CLIPTEXT = '? "something"'
>>
>>&_CLIPTEXT
>>
>>
>>will raise an error, but
>>
>>
>>_CLIPTEXT = '? "something"'
>>
>>&_CLIPTEXT
>>
>>
>>won't and will expand to the ? command.
>
>Hmm, your two samples look identical to me (?)

Damn Copy & Paste. The second should be:
m._CLIPTEXT = '? "something"'

&_CLIPTEXT
----------------------------------
António Tavares Lopes
Previous
Reply
Map
View

Click here to load this message in the networking platform