jellis00,

I do have the same problem before if I used MPASM to compile. Check your setting and don't use MPASM to compole.
I dont know whats the problem cause I'm still new but my program run smoothly without using MPASM. You should give a try.