Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The m. variable thing, the sequel
Message
From
27/01/2005 12:13:17
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
 
To
26/01/2005 23:04:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00969478
Message ID:
00981256
Views:
36
You can do it in quotes:

x='? _screen.Caption'
&x

x='_screen.LockScreen = .T.'
&x

x='Messagebox(thisform.Caption)'
&x

and so on

Gary


>>I had tried a number of combinations but all gave me an error.
>
>Sergery gave you the solution. The reason is because a period terminates a macro expression (although we can usually get away with leaving it off). This is why you also can't use "this." syntax in a macro expression.
>
>local lc
>lc = thisform.runcommand
>&lc.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform