IncredibleVolk
Technical User
I have a process that employs rget to grab a number off the screen, place that number into an integer, and loops that many number of times. The problem I'm having is that Counter is incrementing twice for each loop as opposed to one time. I tried Counter = Counter + 1 and got the same result.
for Counter = 0 upto Number
strfmt sGrab "%s%d" sLine Counter
rget sGrab
strreplace sGrab "`n" ""
strreplace sGrab "`r" ""
code....
Counter++
for Counter = 0 upto Number
strfmt sGrab "%s%d" sLine Counter
rget sGrab
strreplace sGrab "`n" ""
strreplace sGrab "`r" ""
code....
Counter++