So how is it that the global variable is always going to be 0.

Author: xue233, Created: 2018-08-16 20:52:46, Updated:

I defined a global variable at the beginning of the program and changed its value in the function being called, how is it that the log print always shows this value as 0?


More

The Little DreamI'm not sure what you're talking about, but I'm sure you're right.