Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hungarian Notation cost you too much in VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00048156
Message ID:
00048437
Views:
30
>>>>Can you give me an example? I don't see it.
>>>>
>>>>Vlad
>>>>
>>>>>Now MY pet peeve is the need for a form-wide variable. Sometimes it just isn't convenient to use a form property....
>>>>>
>>>>>Barbara
>>>
>>>I think is just a variable you can declare in the init() and edit every where
>>>in the form...
>>>
>>>LOCALFORM MyVar_lfc
>>>
>>>;)
>>
>>Thanks Gerald, that's exactly what I meant. Good notation, too. :-)
>
>And why not a form property?
>
>Vlad

Basically, Vlad, just laziness. It's easier to type a variable name than formobject.formproperty, it adds an extra step or two to store the variable, and more than a couple of steps to make sure you have the form property, remember the spelling, etc.

In addition, I've had trouble in a few places with arrays not working too well as form properties, so I end up copying them back to local variables.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform