Re: scope of variables

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu