$nIndex = 17;
switch ( $nIndex )
{
case 0:
print( "zero
" );
break;
case 1:
print( "one
" );
break;
case 2:
print( "two
" );
break;
default:
print( "neither zero, one nor two
" );
break;
}
?>