Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can someone explain why macro needs to have 2 dots?
Message
From
19/02/2007 10:36:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/02/2007 09:59:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01196999
Message ID:
01197030
Views:
20
>In fact macro in such cases do not need a dot because you don't need a macro - read it as "do not use macro where you don't need it:)
>
>with eval('thisform.' + m.abc)
>  .Visible = .t.
>endwith
>
Is a better construct IMHO.

And even better, IMO, without even eval()
with getpem(thisform, m.abc)
     .Visible = .t.
endwith

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform