Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming conventions again........
Message
From
28/08/1999 10:26:55
 
 
To
28/08/1999 07:59:27
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00258085
Message ID:
00258805
Views:
18
Hi Walter,

I program in FP 2.6 and use prefixes because it helps.

Yes, I use global variables, so I need to tell them apart. I use them to hold values which apply to the whole application such as application date (not the same as DATE()).

As for the type indicator, one needs to know the type of variables. In FP 2.6 you only have 10 letters for var names, so it makes sense.

When I grow up and program in VFP, I plan to drop the scope indicator for properties.

However, I don't plan to drop the type indicator. It doesn't bother me and it is a short way of conveying the type which you need to know anyway. I am not doing it for others, but for me in one year. It is better than remembering, as I am afflicted with CRS.

Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform