User Name
Remember Me?
Password
Register
FAQ
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Java Forums
»
General Java
»
New To Java
»
Can I set a range in case statement?
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
07-23-2007, 09:22 PM
christina
Member
Join Date: Jul 2007
Posts: 39
Rep Power:
0
Can I set a range in case statement?
How to put a range in the case?
For example:
Code:
case 1 to 4: break; case 5 to 7: break;
how can I do that?
is it possible?
#
2
(
permalink
)
07-25-2007, 09:41 PM
Seemster
Member
Join Date: Jul 2007
Posts: 55
Rep Power:
0
you wouldn't want to use the case statement for this. a simple if statement would work.
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
problems with Date format
|
how to use wsad
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Case Based Reasoning
kbyrne
Advanced Java
4
04-12-2008
09:51 PM
problem with operator in case
jimJohnson
New To Java
2
03-21-2008
09:22 PM
String Title case
bugger
New To Java
4
01-28-2008
06:06 PM
What is the best way to represent range of number...
zoe
New To Java
1
08-07-2007
07:13 AM
Statement or Prepared Statement ?
paty
Database
3
08-01-2007
05:45 PM
All times are GMT +2. The time now is
12:25 PM
.
Java Tips
|
Linux Archive
Contact Us
-
Java Forums
-
Sitemap
-
Top
VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Bookmark in Technorati