A quick question.....
Posted: Tue Oct 31, 2006 2:09 pm
How does "break" work?
I would like to use it.
I would like to use it.
switch (myvar)
{
case 0: // if myvar is 0
// do something
break;
case 1: // if myvar is 1
// do this
break;
case 2: // and so on
// yup
break;
}