Can't understand the error message

Hi Again,

Here is the code:

#include <AccelStepper.h>

int motorDirPin = 8                            
int motorStepPin = 9    
AccelStepper stepper(1, motorStepPin, motorDirPin); 
void setup()
{  
  stepper.setMaxSpeed(150);
  stepper.setAcceleration(100);
}
void loop()
{    
  stepper.moveTo(500);
  while (stepper.currentPosition() != 300) // Full speed up to 300
    stepper.run();
  stepper.stop(); // Stop as fast as possible: sets new target
  stepper.runToPosition(); 
 
  stepper.moveTo(-500);
  while (stepper.currentPosition() != 0) 
    stepper.run();
  stepper.stop(); 
  stepper.runToPosition(); 
  
}

and here is the error message :

Motor_Step_H_z.ino:14:3: error: 'stepper' was not declared in this scope
int motorDirPin = 8                            //Direction Output on pin 8
int motorStepPin = 9

Oopsie

DenizYILDIZ: int motorDirPin = 8                             int motorStepPin = 9

You forgot semicolons at the end of these two lines.

Because errors can often cause cascades of errors further down the file it is best to concentrate on the first error only. You likely got some syntax errors for those missing semicolons and you should fix that before looking at the error further down.