I have the following simple script where I am running a loop and want to maintain a COUNTER. I am unable to figure out why the counter is not updating. Is it du
COUNTER
It seems that you didn't update the counter is the script, use counter++
counter
counter++