*createlist lines Tcl Modify Command is not working properly
Find more posts tagged with
Sort by:
1 - 5 of
51
Sort by:
1 - 1 of
11
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.
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.
Hi Manoj
Use eval to expand the list
eval *createlist lines 1 $lineid
Thanks llyle , Now its working fine,Thanks for your support.
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.
always use eval command id you are calling any $list items..like eval *createmark line 1 $list
Hi Manoj
Use eval to expand the list
eval *createlist lines 1 $lineid
Hi Manoj
Use eval to expand the list
eval *createlist lines 1 $lineid