*createlist lines Tcl Modify Command is not working properly
While assigning the list of lines(id) to *createlist lines it takes only the first index element of the list.
For example;
Set lineid {101 102 103}
*createlist lines 1 $lineid;
The above Created lines list id 1 should contain three elements 101, 102 & 103
But it always takes only 101 only.
Best Answer
-
Hi Manoj
Use eval to expand the list
eval *createlist lines 1 $lineid
1
Answers
-
Hi Manoj
Use eval to expand the list
eval *createlist lines 1 $lineid
1 -
Hi Manoj,
As llyle mentioned please use the eval, here I have added a screenshot of commands and the result.
The 3 line ids are printed.
1 -
llyle_22464 said:
Hi Manoj
Use eval to expand the list
eval *createlist lines 1 $lineid
Thanks llyle , Now its working fine,Thanks for your support.
0 -
Viraj Kulkarni_21218 said:
Hi Manoj,
As llyle mentioned please use the eval, here I have added a screenshot of commands and the result.
The 3 line ids are printed.
Yes Viraj, I also used eval its working fine.Thanks for checking by spending your valuable time.
0 -
always use eval command id you are calling any $list items..like eval *createmark line 1 $list
1