Store a global variable

The link that @ZeroX4 gave (to the Save/Load problem) has sample code in it.