No, I've not considered it.  I'd rather set a flag variable to make it work
rather than do anything with goto.
I just believe it's bad programming practice to use goto's.

Thanks,
Mike


On 6/20/06, Toulakis, Dimitrios (RESC) <[EMAIL PROTECTED]>
wrote:

Hi Mike,

Have you considered using the goto statement?

Cheers,Dimitrios

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Andrews
Sent: Tuesday, June 20, 2006 3:49 PM
To: [email protected]
Subject: [ADVANCED-DOTNET] Exit Do...

Guys...

I know that break; is essentially the same as a VB Exit Do.

However...

If I'm inside a switch statement, is it possible to exit the Do loop?

Thanks,
Mike

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com


===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to