Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Headings in Menus
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00492587
Message ID:
00493136
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform