I need to have a load of similar string variables in my script, with the same name, but incremented with a number. Normally I would do something like:
I was hoping that there may be an easier way to refer to these, but am a bit rusty on vbscript - can anyone see a more efficient way to declare, and then refer to these variables?
Thanks
Code:
dim item1, item2, item3, item4, item5, item6
I was hoping that there may be an easier way to refer to these, but am a bit rusty on vbscript - can anyone see a more efficient way to declare, and then refer to these variables?
Thanks