Sunday, January 11, 2009

switch case


switch ( ) {
case this-value:
Code to execute if == this-value
break;
case that-value:
Code to execute if == that-value
break;
...
default:
Code to execute if does not equal the value following any of the cases
break;
}

0 comments:

  © PC Template PC by PC 2008

Back to TOP