Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local scoop wish
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00720623
Message ID:
00720948
Views:
9
C, C++, C#, VB.NET and others support block scope of variables. In fact, I think that the list of languages that do not support block scope is shorter than the inverse.

I do not agree with a new SYS () function to introduce this new feature. It would just make the code harder to read since you don't necessary see the SYS () call in the code you read and have to remember or assume that it is in effect. We already have to much environment settings to remember, so don't make it worse. Using braces ({}) to delimiter a block code would be a better solution IMHO.

>You may be right, it's possible no other language has this feature. My suggestion is to have a SYS() option, but an option like Option Explicit would do the trick as well.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform