...
Code Block | ||
---|---|---|
| ||
# example: set oa1 [ objarray new_from_to intarray 2 5] set oa2 [ objarray new_from_to intarray 6 9] objarray_map {{x y} {expr $x + $y}} [ list $oa1 $oa2] # --> 8.0 10.0 12.0 14.0 |
...
...
Code Block | ||
---|---|---|
| ||
# example: set oa1 [ objarray new_from_to intarray 2 5] set oa2 [ objarray new_from_to intarray 6 9] objarray_map {{x y} {expr $x + $y}} [ list $oa1 $oa2] # --> 8.0 10.0 12.0 14.0 |
...