non-volatile variables

I was wondering if there is a way with the arduino board and programming interface to have non-volatile variables? I've done this sort of thing with the PIC microcontrollers before, where I store a value in a section of memory that won't erase when it loses power, then when it starts back up, pick the value up.

For example, if I have the variable i=1 and if I have a button I push that sets it to 2. Next time I start the board up I want it to stay 2.... any ideas?

Yes, and its easy to do with the Arduino. see this page for more info: http://www.arduino.cc/en/Reference/EEPROM

Hah...I must be blind. I looked but didn't see that. Thanks! :-D

don't worry, part of the pleasure of this environment is discovering new things that the arduino makes easy to do.