Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 Wish - Opion explicit
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP 9 Wish - Opion explicit
Miscellaneous
Thread ID:
00810703
Message ID:
00810703
Views:
57
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.

Greetings
Marvin Blase (tA-logistic Software GmbH)
You'll never notice the good things if you haven't seen the bad.
Next
Reply
Map
View

Click here to load this message in the networking platform