if ( condition )
   {
   toggle = ! toggle;
   }