Thank you Dave !

sure it will help !

Just a doubt : What PIC have you used with this code ?

Finally, today I will receive my first 18F´s (one 18F4550 (really expensive) and 2 18F2520).

Thank you again !