Welcome to the forum.

What programming language are you using? I ask because it sounds like you just happened to find your way here. Are you using Pic Basic Pro?
http://melabs.com/