EEPROM read and write

as for your attitude, i expect an apology

Don't hold your breath. You hijacked another thread, posted an incomplete question, some out of context snippets of code that a 4th grader would have recognized as silly, and demanded an answer. You are the one that needs to apologize.