how to modify variable permanently

if i wrote a code that declares the variable 'x' as 4 and then made some operations on it and made it equal 12 for example and closed the console and run the program once again x would be equal 4.
how do i make a change permanent on a variable.
closed account (48T7M4Gy)
Try persistent memory locations, or even go so far as to use hard disk, floppy, DVDs, thumdrive or cloud, among others
Topic archived. No new replies allowed.