Re: scope of variables

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless said...

Gosh, i misread. I thought 4.0 did NOT allow variables to be declared inside a if-then loop AND thereby shadow a variable outside the loop. My solution is one of many that pseudo-DOES, but i'm just useless again since you tell me 4.0 DOES now allow this.

To be clear, variable can be declared inside of if-then, while, for, etc code blocks. But those cannot (currently) shadow names of variables that are in the same routine.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu