while( bool ) { switch( input ) { case END: break; } }