> I'm all for scoping vars at the top. It makes it much easier to find it and know how it's scoped.
Craig, I would say that the majority of developers would agree with your standard. Tracy will need to determine if this is something that she wants to include in her doc, as she can see that there is a difference of opinion.
I think we would both agree that whether the vars are scoped at the start of a routine or just before it is first needed, a var MUST BE SCOPED. This of course is not a VFP imposed restriction it is a good development standard!
Anthony
You might be a redneck VFP developer if:
You're not suprised to discover your child class is also the parent of your other child class!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement