Please READ the manual about the Syntax of the Commands.

You do not define the port pin, the baud rate. No wait for Serin (only for Serin2). No square brackets for the variables. Only in Serin2.

Same for the Serout/Serout2.

And as keithdoxey noted, no DEFINEs as these are for he Hserin/Hserout.

I do not like the "read he manual" statement but I cannot teach you the Lanquage and how to write programs. It is something you have to do it yourself.

Do you have a printed manual?

Start by flashing a LED, as trivial may sound this.

I even do this when I change PIC micro, just to be sure that I am in control of the new beast before I try anything more complicate.

Ioannis