Please help me about Servo motor code

I bought a Arduino Duemilonove ,but my problem is that if i write my code on Arduino Editor ,the typ Servo myservo i get an error message when compiling.They say that the Servo is not recognized.Do i have to install an additional Software Arduiono for the Servo or for the Steppermotor , or suffice the already installed Software arduino 0022.I want going to write an code for Solarpanel after following.

Thank you for your Support.

here my examples code.

include < servo.h >

define servo.h

define myservo

int Analogpin = 0 ; // Analogpin 0
int val=0 ; // Sollwert für Servo
int pos ; // position Servo

void Setup ()
{

myservo.attach(9) ; // Servo an Port 9 .that line is not recognized when compiling.

}
serial.begin(9600) ;

void loop()

{

int val = analogRead(Analogpin) ; // Einlesen des sollwertes für Servo
int pos = 0 ; // speichern position Servo
val = map ( val , 0, 1020,0 , 179 ); // Skalieren des Sollwertes für Servo

myservo.write ( val ) ; // Schreiben Sollwert

delay (15)

here my second code

Simple servo test code.

// zoomkat 10-4-10 serial servo test
// type servo position 0 to 180 in serial monitor
// for writeMicroseconds, use a value like 1500
// for IDE 0019 and later
// Powering a servo from the arduino usually DOES NOT WORK.

String readString;
#include <Servo.h> 
Servo myservo;  // create servo object to control a servo 

void setup() {
  Serial.begin(9600);
  myservo.writeMicroseconds(2000); //set initial servo position if desired
  myservo.attach(7);  //the pin for the servo control 
  Serial.println("servo-test-21"); // so I can keep track of what is loaded
}

void loop() {

  while (Serial.available()) {
    delay(1);  
    if (Serial.available() >0) {
      char c = Serial.read();  //gets one byte from serial buffer
      readString += c; //makes the string readString
    } 
  }

  if (readString.length() >0) {
    Serial.println(readString);  //so you can see the captured string 
    int n;
    char carray[6]; //converting string to number
    readString.toCharArray(carray, sizeof(carray));
    n = atoi(carray); 
    myservo.writeMicroseconds(n); // for microseconds
    //myservo.write(n); //for degees 0-180
    readString="";
  } 
}
 # include < servo.h >
 # define servo.h
 # define myservo

The file is Servo.h, not servo.h. Case makes a difference, in spite of the crap that Microsoft pulls.

The #define statements indicate cluelessness. Get rid of them.

 serial.begin(9600) ;

All executable code must be in a function. There is no serial object. It is Serial.

Get your shift key fixed, or find it, or use it. Whatever it takes.

   void Setup ()

That’s setup(), not Setup(). Use the shift key only when it is supposed to be used.

 int pos = 0 ; // speichern position Servo

What’s this for? It’s never used.

   myservo.attach(9) ; // Servo an Port 9     .that line is not recognized when compiling.

Of course it isn’t. You haven’t created an instance of the Servo class called myservo.