What PIC are you trying to use??
What version of PBP are you compiling with?

It's good that you posted the original basic stamp code but it would also be helpful if you posted the PIC code, as modified, that you are trying to run.