>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
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