T
Tezza
Hi
I am looking for a way to concatinate text in order to form a variable. So,
for example (see below) I might have 6 variables named similarly, and want
to assign a different value to each. Instead of spelling out each variable
on a seperate line of code, it would be neater, quicker and easier if I
could achieve this using an iterative loop, but I can't seem to get it to
work. Anyone got any ideas please.
Much appreciated.
Terry
Example:
Dim Line1, Line2, Line3, Line4, Line5, Line6 as integer
for i =1 to 6
"Line" &" i" =i * 10
next
Line
I am looking for a way to concatinate text in order to form a variable. So,
for example (see below) I might have 6 variables named similarly, and want
to assign a different value to each. Instead of spelling out each variable
on a seperate line of code, it would be neater, quicker and easier if I
could achieve this using an iterative loop, but I can't seem to get it to
work. Anyone got any ideas please.
Much appreciated.
Terry
Example:
Dim Line1, Line2, Line3, Line4, Line5, Line6 as integer
for i =1 to 6
"Line" &" i" =i * 10
next
Line