Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 Wish - Opion explicit
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00810703
Message ID:
00810829
Views:
6
I agree with you and I would also add force the declaration and the type.

>It would be a very nice to have function to set the definition of variables to a MUST.
>
>VB does this with the "Option Explicit" function on top of your Project.
>
>The solution in VFP7 and 8 to set _vfp.languageoption = 1 for the debugger to get those undefined variables is not consequent enough. Because it only gets those variables in use at that specific moment.
>
>I would not understand why anybody shouldn't declare his variables correctly.
>"Scatter memvar" functions for instance can also work as well as before if you use it with "Scatter NAME loScatter additive".
>
>I think this would be a great benefit, because almost all other languages have this function. And I heard it a thousand times from new developers comming from other languages like C++,Delphi,VB and so on. You would get a great benefit to see the possible errors before you get those from your customers.
Previous
Reply
Map
View

Click here to load this message in the networking platform