I have an initial file I read in. It is just a bunch of zeroes. Max will be 400, looking like this.
0
0
0
0
0
If a certain event occurs, I want to increment that postition by 1. Instead, my output looks like this
0
0
10
0
0
It appears to me it treats it aas a string and not as a number...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.