Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spellbound - EVAL() in VFP6 needs to be macroed in VFP9?
Message
 
À
20/09/2006 08:08:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01155368
Message ID:
01155463
Vues:
44
Hi Tore

>A very fine example on how a missing or incomplete naming convention can/will cause trouble! Personally I would never use for example cString as a variable, I would always precede it with a letter to indicate the scope. I would use lcString for local, pcString for private and gcString for glogal. A field on the other hand I coull call cstring.

I follow that rule too. This is a ready made class I was using, but learning from this I have changed all variable names to have l as a prefix in it's code and have put in a LOCAL line at the top.

In fact, just recently on the downloads there is a intelliscript which I am using and plan to keep on using, which creates the LOCAL declration on vars starting with l.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform