How does "break" work?
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;
}
Users browsing this forum: No registered users and 1 guest