I have a script using alot of variables.
And declaring them is a real problem, I guess.

The variables say are, char1, char2, char3...... char115. (char1 - char115)
I can do that manually but, that is really hectic.

What here is I came up with a peiece of code
to do it. But it doesn't work.

Code: Select all
for {set i 1} {$i < 116} {incr i} {
set char($i) 0
}
#Even tried, set char[$i], or set char$i, but they don't work!
such as using arrays, set char[115]? would this
declare 115 variables from, index 0 to index 115?
If anyone, can help me with this, I would be very thankful!
