Results 1 to 3 of 3
Thread: switch
- 01-29-2009, 11:17 AM #1
switch
Hello to everybody i ve this code:
CODE]
switch(i){
case 0:
{
vuthoskopisi="kulo";
tonometrisi=10;
automati_perimetria=2;
gwnioskopia=2;
illness = Asth[0];
break;
}
case 1:
{
vuthoskopisi="kurto";
tonometrisi=10;
automati_perimetria=2;
gwnioskopia=2;
illness= Asth[1];
break;
}
}
[/CODE] i want the variables tonometrisi automati_perimetria and gwnioskopia to be statement like
(tonometrisi<10)&(tonometrisi>0)ect.
When i put this statement in case the compiler saint that this sentence is not a statement.So what s the problem??:cool:
- 01-30-2009, 07:09 AM #2
Could you send your full source code?
Here no need to have open Braces inside of Case .Mak
(Living @ Virtual World)
- 01-30-2009, 08:46 AM #3
actually... the OP started another thread w/ the same title.
switchUSE CODE TAGS--> [CODE]...[/CODE]
Get NotePad++ (free)
Similar Threads
-
[SOLVED] Should I use switch or if else
By hungdukie in forum New To JavaReplies: 14Last Post: 12-25-2011, 01:49 AM -
Switch help please!!!!
By soc86 in forum New To JavaReplies: 6Last Post: 11-23-2008, 07:25 PM -
What is wrong with my switch??
By soc86 in forum New To JavaReplies: 3Last Post: 11-20-2008, 12:34 AM -
Help with switch color
By Daniel in forum AWT / SwingReplies: 2Last Post: 09-18-2008, 07:54 AM -
Switch Statemet
By Java Tip in forum Java TipReplies: 0Last Post: 11-30-2007, 09:16 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks