Re: scope of variables
- Posted by jeremy (admin) Dec 30, 2010
- 2824 views
jimcbrown said...
The problem with that is that it could break a lot of pre-existing code. All the way back from the 1.x days.
Since we're post-4.0, we absolutely can not make this change. We can not break existing code.
Maybe provide a with/without option that is on by default because it is a pretty bad practice. i.e.
without strict_naming integer abc = 20 procedure def() sequence abc = "John" ? abc end procedure
Valid since without strict_naming, but by default strict_naming is on.
Jeremy