Re: "Case" Question
- From: Craig Deelsnyder <cdeelsny@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 May 2005 00:19:32 -0500
Shapper wrote:
Hello,
I have a "Select Case MyVar" in which I define the values of an Array according to the value of MyVar.
I need to use the Array Values in a Loop after End Select. It seems the Array is deleted on End Select.
How can I make it available for my loop?
Thanks, Miguel
Can't really tell without seeing the code, will only be speculating on an answer. Please post sample of Select Case and where the array is declared if this doesn't solve it...but if the array's declared inside the Select Case, it will only be available there, according to scoping rules. If that's the problem, move the declaration out of the Select Case (and For loop).
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET .
- References:
- "Case" Question
- From: Shapper
- "Case" Question
- Prev by Date: Re: Tutorial/Guide help please
- Next by Date: Re: How to get the size of an array?
- Previous by thread: "Case" Question
- Next by thread: Re: "Case" Question
- Index(es):
Relevant Pages
|