Storing Preferences

Hello. Could someone show me a simple snippet of code that stores a preference, like what a variable equals, and then uses it. THis means that when the program closes, that preference/variable is the same and is used to do something. Any help would be appreciated. Thank you!
Last edited on
To store preferences between program runs you must store them not in RAM, but in hard disk. That means you need to learn about file input and output.
O.K. Thank you. I'll look on the tutorial.
Topic archived. No new replies allowed.