Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Headings in Menus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00492587
Message ID:
00493136
Vues:
17
>Hi
>
>I wonder if you could guide me to some rules that u follow while coding.
>
>Thanx a zillion

Hi Hiten,

Basically, my rules are:

1) Write clean well-commented code.
2) Use MS recommended notation, e.g. for local variables:
lcFirstName
lnI - counter
llIsFound
loValid - object, etc.
For parameters I use t as a first letter. Also I prefix variables with m. to distinguish them from table fields, e.g.
  if m.llIsFound
      ** Piece of code
  endif
Ok, there are other rules, I follow, but some of them just personal preferences.

Check also a document in Documents section here: "VFP: Do and Don'ts"

Hope this helps.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform