Quote Originally Posted by mark_wotton
Thanks, I'll remember that. But the root cause of the problem was forgetting that you can't fit "10000" into a byte. Oops...

If you have to use Byte variables, you can actually use small numbers and with PauseUS command you may do the following.

PausUS Y*100

say Y= 50 then PauseUS Y*50 will give you PauseUs 5000.

and others the same way...


---------------