Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can someone explain why macro needs to have 2 dots?
Message
De
19/02/2007 10:40:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/02/2007 10:36:59
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01196999
Message ID:
01197033
Vues:
14
>>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
>
Yes! It's something that I always forget:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform