Making continious wave like formation with servo's like sinus

Please post the complete program. It's difficult to make any sense of a small snippet like that particularly since you don't seem to be using the normal Servo library to drive your servos.

BTW do you think there is any possibility of this if statement not succeeding?

  check = 1;
  if(check==1){ //reset servo's

Steve