Is it possible to make a variable array count up. If the variable array is questions(1 to 100) as string could I make this count up if a certain condition is true.

questions(index) = questions(index) +1 or something

I know that this doesnt work, but is it possible.

Thanks