Re: scope of variables
- Posted by useless Jan 02, 2011
- 2524 views
jimcbrown said...
useless said...
jaygade said...
useless said...
Gosh, you can declare junk[1..5000] and prolly not run out of nested "decision block" junk[x], and you have the feature that all the junk is available outside that level too.
useless
I don't know what you mean.
But much like your request to be able to declare variables willy-nilly
4.0 supports being "able to declare variables willy-nilly", so these sort of poor ugly hacks are no longer necessary.
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.
useless