Is there anything wrong with my code?

  else {
    digitalWrite(AnalogDC, LOW);
    digitalWrite(AnalogDCR, HIGH);
    digitalWrite(KDC, HIGH);
  }
}
  delay(1) //Tid mellem læsning

Why post stuff like this (badly) when the compiler will tell you whether or not it is valid?
What is that last delay doing outside of an braces?