Alain,

Thanks a lot. This makes perfect sense. at 4Mhz clock speed, there has to be about 1/500 th of a secong between the time where I set Tris, and when I assign the "0"or "1" to the pin. That would be enough to create the problems I have been experiencing. I naively thought that the registers always defaulted to "0" at power-up.

Je suis ici depuis dix ans... j'ai ma petite famille ici... en moins de 4 heures je suis sur une plage en Thailande ou dans la jungle aux phillipines...Je ne me vois pas revenir en occident...

Merci!

Pat