Hi there, thanks for your reply, I got the program working I'm a little unclear as to what you mean by "casting", can u please explain a little futher ?

Also what does "(char)a" do ? I think I got the idea but want to make sure I'm right.

Thanks again

CaptainChainsaw