You may use
foreach i "1 2 3" {
set by$i [$dest$i set bytes_]
}
- Hyunah
> hello~~~ guys~~~
>
> set by1 [$dest1 set bytes_]
> set by2 [$dest2 set bytes_]
> set by3 [$dest3 set bytes_]
>
> Could I replace this part of script by
>
> for {set i 0} {$i < 4} {incr i} {
> set by$i [$dest$i set bytes_]
> } ????
> If can't, what should I do?
> thanks... :)
> Jay...