Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding Standards
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00115272
Message ID:
00115280
Views:
19
Sorry, Menachem, let's make this a little more readable with this re-port.

That's pretty much what I follow with the following exceptions and additions.

Exceptions -

Variable names are usually all lower case.

Mixed case is used with calls to the API or external libraries.

Table field names are not "typed". The language is so loosely typed, and given the limitation (in the old days) of 10 characters, I feel the more descriptive the better.

Additions -

One, and only one, exit point (at the end of the module) for procedures and functions. There are, of course, exceptions, but it must be for a quantifiable reason.

The use of the EXIT and LOOP keywords is prohibitted. I think that these are the xBase equivalent of GOTO.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform