GUI to define variables

I am working on a project where I would like to let the end user define 5 of the variables in the sketch. I have been searching and the closest thing I have found is to communicate over serial and change a variable. The issue is I want to have the variable to be what the user gas defined even after the serial is disconnected, the Arduino is reset, and the power turned on and off from the Arduino. From what I can see this means the variables need to be defined in the GUI before the sketch is written. I have been playing with RealBasic but I am not opposed to trying other software. If there was a way to upload the sketch from RealBasic or from some other GUI, after the user had entered the values for the variables that would work but I have not found anything that would allow me to do this. Another option would be to define a destination folder on the computer and have the GUI export a .ino file with the code and the defined variables, then use the regular Arduino uploader to get the file on the board.

Any and all help is appreciated, I have searched and have not found anything that I thought would help. And I'm new to all of this so the more dumbed down the responses, or step by step the responses, the better. Thanks again.

Hagen5244:
I am working on a project where I would like to let the end user define 5 of the variables in the sketch. I have been searching and the closest thing I have found is to communicate over serial and change a variable.

Bingo.

The issue is I want to have the variable to be what the user gas defined even after the serial is disconnected, the Arduino is reset, and the power turned on and off from the Arduino.

May I introduce you to the EEPROM...
http://www.arduino.cc/en/Reference/EEPROM

Thanks, EEPROM looks promising, any help getting the Searial.read to work? I tried to put together my own version of the blink light if searial.read =='H' sketch, and it seemed like it was not working, but Ill try again tomorrow and see what I can figure out. Thanks again.

You are welcome.

Hagen5244:
...any help getting the Searial.read to work?

PaulS has a plethora of posts about using Serial...
https://www.google.com/search?q=PaulS+Serial+site%3Aarduino.cc%2Fforum

Nick Gammon has a few articles about using Serial...

There's this...
http://playground.arduino.cc/Code/SerialControl

This looks helpful (but brief)...

When all else fails...
https://www.google.com/search?q=arduino+serial+parsing