Setting rpm of stepper motor per minute

Hi PaulS
thanks for the reply. the link to the library is Arduino Playground - CustomStepper .
As far as the surprise on the delay, I'm really a noob on arduino and programming. The LCD print the correct RPM so i thought this sketch might work. Do you have a suggestion for me how to achieve the change per minute without the delay?
cheers