Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable scope and try and catch
Message
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00829818
Message ID:
00830069
Views:
27
>>>>
>>Don't want to answer for Plamen, but you didn't get it right. You have to initialize all variables prior to try/finally block.
>
>That's not my understanding. The idea of TRY is to try to initialize things to see if they work and if they don't catch them. I know I have to declare them prior to TRY but it is different from initializing. Perhaps Plamen or Bonnie will correct me or you :-)

I actually meant declaration too.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform