Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Redeclaring things
Message
From
11/02/2011 11:39:48
 
 
To
11/02/2011 11:28:48
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01499783
Message ID:
01499784
Views:
36
>Hi
>
>if I have
>
>Dim s As Series = setupSeries(modelName)
>
>then in a loop I want to ditch that s and set up a new one whats the best way of doing that
>
>if I just repeat the code I get
>
>
>Error 1 Variable 's' hides a variable in an enclosing block.
>
>so what should I be doing.

Redim should be used.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform