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:36:59
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/02/2007 09:59:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
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:
01197030
Vues:
18
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform