Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Safety On
Message
De
29/03/2006 09:53:46
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01108731
Message ID:
01108798
Vues:
16
>I think you missed my point, which you can find in the original link I referred you to in the table.
>
>m.Var = m.Var1 + m.Var2
>
>In this expression the first m. is not needed, e.g.
>
>Var = m.Var1 + m.Var2 is better.
>

Naomi,

You're right that the first m.Var doesn't need the m prefix, but I don't think it does any harm. And if you always prefix your variables with m you don't have to think about where its needed and where its not.

So, I don't think one way is better - just a difference in style.

Regards,
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform