PicBasicPro 2.49? You must have one of those 'SPECIAL' versions...
Still left out quite a bit of useful information.
Doesn't tell us what hardware is sending the serial to the PIC
Doesn't tell us what kind of oscillator you are using
Doesn't tell us if you are setting up the serial port correctly in the first place
And that snippet isn't very helpful. Who knows what else you've got going on...interrupts, other code that may or may not modify any of the variables involved...etc...
Bookmarks