My Servo won't move [SOLVED]

I had to type cast sVal to int in the myservo.write statement.

You didn't have to, but it would do no harm.

AWOL:
You didn't have to, but it would do no harm.

Hmm, well it didn't work before I type cast it. Oh well, it works. Anyway, thanks guys for all the help!