On startup, I want load the highscores from the EEPROM area into the hiscore RAM array with a function named "void loadhiscores()".And when the highscore table changes, a function named "void updatehighscores()" is called to write the new table into the EEPROM.

But EEPROM.read and EEPROM.write only handles single bytes and not long int's, and the information on http://playground.arduino.cc/Code/EEPROMWriteAnything is way too advanced for me to understand and apply on my problem. Would anybody like to help me write the code to these two small functions? I would be very thankful, and of course give proper credits when I present my Pinball Project. (I know people are asked to attach the whole sketch and not just a snippet, but so far I have not written any high score related code and I believe I supplied enough information. Btw, the sketch for the Playfield Unit is already 17kb, and of no help for this question).

An unsigned long is 4 bytes.Mask each out byte and write them to the EEPROM that way.

"You gotta fight - for your right - to party!"Don't react - Read."Who is like unto the beast? who is able to make war with him?"It's "bipolar transistor" or "junction transistor" - "BJT" is just stupid.When all else fails, check your wiring!

how rude are you? read my post, the code is there? i merely changed the examples previous as i haven't implemented it in my code yet. seems pointless to post a 56k sketch which has zero relevance. the 4 digit number you seemed to have trouble understanding will only be a 4 digit number as set by the user.

the read function would be used once, and if the code i have presented works then i can change it, like i already said, i have used the examples as previously shown.

the write function would happen once every so often as set by user. if the code from the example code works then i can change the format to match the usage.

as for your attitude, i expect an apology. your post was unhelpful, rude, offensive and just posed no useful reason for saying it?

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.