Egg
2 years agoFrequent Contributor
For loop
Hello. I have a question about 'For Loop' I read csv file's first cell value. and I change that value string to int. and I wanna +1 from that value. So I write like below. ...
- 2 years ago
Like this?
The value doesn't change anywhere so it will post the same one every time.
I also suggest converting string to int before using the loop.
- 2 years ago
For me aqconvert.StrToInt() works just fine, I noticed you have not filled in the loop variable be sure to have a empty int variable just for this, for loop counts that var +1 every loop automatically.
In my example loop it first converts string to Int, then within the loop it does +1 and posts a log.