int foo = 123; //or some other value. freshly declared variables do NOT get set to zero.
int* bar = &foo;
And to edit with the pointer you would to this:
*bar += 5000;
but make sure foo is a global variables, otherwise its address becomes invalid if the code hits a wait(1) command.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial