473,796 Members | 2,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Will VB.NET Whidbey has a break statement?

Neo
I am in dire need of a break statement in VB.NET language.

I have several pieces of code that would have much cleaner look and much
less deeper if/else/endif nests IF VB.NET HAS A BREAK STATEMENT OR
SOMETHING SIMILAR.

Will VB.NET has a break statement in the coming Whidbey release?
Nov 20 '05 #1
1 1472
Neo,
VB.NET 1.0 & 1.1 currently have a number of "break" like statements, what
exactly do you have in mind?

"break" like statements in VB.NET include but are not limited to:
Exit ( Do, For Function, Property, Select Sub, Try While )
Return
Goto (not neccessarily advised, but it is available).

VB.NET Whidbey will gain the Continue statement.

Have you considered creating smaller more focused methods (pieces of code)
in smaller more focused classes?

Hope this helps
Jay

"Neo" <ne***********@ msn.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
I am in dire need of a break statement in VB.NET language.

I have several pieces of code that would have much cleaner look and much
less deeper if/else/endif nests IF VB.NET HAS A BREAK STATEMENT OR
SOMETHING SIMILAR.

Will VB.NET has a break statement in the coming Whidbey release?

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1327
by: Kamen Yotov | last post by:
Hello, I got my hands on the PDC preview version of whidbey and I think I managed to break the compiler/runtime with my first Generics/Iterators attempt. The reason I am posting it here is that I might be wrong, in which case, please correct me! The following program prints garbade instead the intended 5,6,1. I think it is printing the integer values of the pointers which represent some references... Any ideas?
4
1145
by: Elrey Ronald V. | last post by:
Hello All, Is it perfectly ok to install the Whidbey ( PDC preview version) into my pc which already contains both ASP 1.0 and ASP 1.1 (without affecting my current web apps) ? Just want to hear from you first before I install this. THANKS A MANY!!
19
1098
by: Chris Dunaway | last post by:
Just got my hands on Whidbey. Here are a few interesting changes that you may not be aware of: 1. Continue statement on Do, For and While commands 2. Default Instances of certain classes are back (such as forms). 3. Properties can now have mixed access levels. For example you can declare a property like this:
0
1217
by: spamfurnace | last post by:
Will Whidbey have the features, of a girl i'd like to meet? Will Whidbey be easy to talk to, and rub my tired feet? Will Whidbey bats it eyes at me, and whisper "Baby, your so sweet". Will Whidbey have a body to die for, and look hot as hell wrapped only in a sheet. Will Whidbey have construction workers whistling at it if i tucked under my arm and walked it down the street. Will Whidbey make me feel like a man, and have all other IDE...
3
1289
by: SStory | last post by:
I just saw an intro video on Whidbey Alpha from http://www.learnvisualstudio.net/shortcut/0806c.htm. I am sort of aggravated with Microsoft in that no one can ever become proficient with your tools because you change them so much with each version. The demo said, ASP.NET now has code behind separation files that are just all in the same file---sounds like to me that that isn't code separation and is just a return to the same as...
5
2887
by: rogsonl | last post by:
My computer was moved last week, and the company changed the network groups we work on. As a result, one of the main benefits from Whidbey (database connectivity) no longer works. Situation: 1. I open a new project based on a windows form 2. I click on "data" and then "Add New Data Source" then I click on next within the wizard 3. I have 3 choices Database, Local Database, Web service and Object. 4. I choose Database, click next and get...
26
10222
by: Alexander Korsunsky | last post by:
Hi! I have some code that looks similar to this: -------------------------------------------- char array = "abcdefghij"; for (int i = 0; i < 10; i++) {
22
2540
by: Cogito | last post by:
For the first time, I'm attempting to write a small Javascript program using one on the online reference sites. I need some confirmation as to the behaviour of the break statement. In the following code: for ( row = 0 ; row <= 7 ; row++ ) A <---- { for ( col = 0 ; col <=7 ; col++ ) B <---- {
5
1771
by: mark4asp | last post by:
Every time the function below is called I get the alert. So I put a deliberate error in there and I check the value of (reportType=='MANDATE') in Firebug, which is found to be true. But still the alert comes up. Why? I checked the following watch expressions at the blah blah point. id = 5843 reportType = "MANDATE"
0
9683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10231
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10013
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9054
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6792
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.