Yup, it writes to the EEPROM on every loop.

With the PAUSE 100 in there, it will take only 2 hours and 45 minutes to completely use up the available 100,000 write endurance limit of a 16F877 or equiv.

Hope you haven't left it powered up

DT