Arduino IDE 1.0 Stop Button.. Where is it?

try this variation, it will allow approx. 10 seconds of forward riding and then stops.

void loop()
{
  if (millis() < 10000UL)
  {
    motor.step(100, FORWARD, SINGLE);
  }


}