Sample Header Ad - 728x90

how to convert a list to array in tcl?

0 votes
1 answer
4523 views
It may be a trivial question; but I am facing problem to covert a list to array inside a tcl script. set mylist { one two three four five } I need to convert this to array myArr. One more doubt, Can we use list elements as separate, like I want to use second element of mylist i.e. mylist(1)?
Asked by Manisha Kuhar (67 rep)
Jun 17, 2020, 09:55 AM
Last activity: Jun 17, 2020, 02:39 PM