General information
Category:
Coding, syntax & commands
Hi Marvin.
Have you ever looked for an Intelliscript which helps you find those undeclared local Variables.... here is one.
Actually, no - because it is quite unnecessary. You do not need an IntelliSense script to do this. All you need to do is to set _VFP.LanguageOptions = 1. This means that strict type declaration is required for memory variables.
When LanguageOptions is set to 1, you must declare all memory variables and arrays as LOCAL or PUBLIC prior to using them. An attempt to use an undeclared variable or array will generate output to the DEBUG OUTPUT window.
Check out LanguageOptions in the on-line help.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only