Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP IDE stinks at finding bad variable names in my code
Message
From
14/05/2009 19:47:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01399931
Message ID:
01400011
Views:
121
>>>Just Dangit! I'm a fairly skilled programmer, but a apparently a terrible typist/speller. 9 times out of 10 when I my app bombs (while I am running it from the IDE during development), it is not becuase of bad logic, but simply becuase I have misspelled a variable name in a method. Good grief I am tottaly tired of that. I sure wish the thing would figure that when I close the code window, or even better, when I am typing.
>>>
>>>Things with intellisense support are fine, it's just stupid local vars defined right in the method that usually kill me.
>>
>>I just tried the ZLOC intellisense keyword in a prg - just type a space after it and you get a dropdown with available local variables. Those declared local, that is.
>
>What is ZLOC? The tool Naomi recommended?

It's one of the standard intellisense macros which comes, AFAIK, with Fox, in the box. Just try it anywhere below the LOCAL declaration.

BTW, my trick to avoid misspellings of long variable names is to type them in camelcase first, then lowercase later. Then run beautifier, which I do after every dozen lines, as a matter of habit. The ones that stay lowercase are misspelled.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform