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
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