Sorry I didnt reply to this sooner but ive just got my hands on a 18f252, Im still having problems setting the oscilator type in the config. Im trying to set it for a 4mhz crystal. What do I have to add to the following line.

@ __CONFIG _CONFIG1H

Thanks for the replys so far Sphere...