I need to save 2 variables in my program
example:int limit; Boolean on;
I set limt variable value using a textfield and on variable value using a toggle button
ex:limit=5; on=fales;
I want to save this two variables in a file
when I re run my program i needs to keep values
ex:limit=5; on=fales;
when I changed those values it needs to be update in the file
ex:limit=what ever I enter through textfield and on= true or fales according to my choice
when I run again changed values are needs to be shown in the program