how to set and read two values in one variable using TCl?
sanket_patil
Altair Community Member
how to set and read two values in one variable using TCl?
0
Answers
-
Hi Sanket,
You can use TCL list. Do elaborate your requirement.
0 -
I want to read a value from excel sheet. so i was thinking to set ids for 'Row' and 'Column' and that will hepl me to read that cell.
0 -
TCL array or dictionary should be ideal.
array set myarray [list] set myarray(0,1) 'data1'; set myarray(0,2) 'data2';
0 -
I have row index and column index. using that i want to read cell. after that if condition is false row index should increment and check for next rows also.And if condition is true it should give me some output. Can ypu please help in for this?
Thanks.
0 -
Try setting up the array like this:
set rowindex 0; set columnindex 0; set myarray($rowindex,$columnindex) 'data1'; incr rowindex;
0