Hi,
I want to execute the below mentioned line.
set namelist [report_names -spec {ABC }]
eg:
the command [report_names -spec {ABC }] returns a list as shown below:
abcd
tom
vicky
Mary
and I want this list to be copied into namelist.
here report_names is a user defined command that returns a list of names and I want the list of names to copied into the list namelist.But the output seems to printed on the screen instead of getting copied into the variable namelist.
Can somebody suggest me what can be done to solve this.
Thank you.
I want to execute the below mentioned line.
set namelist [report_names -spec {ABC }]
eg:
the command [report_names -spec {ABC }] returns a list as shown below:
abcd
tom
vicky
Mary
and I want this list to be copied into namelist.
here report_names is a user defined command that returns a list of names and I want the list of names to copied into the list namelist.But the output seems to printed on the screen instead of getting copied into the variable namelist.
Can somebody suggest me what can be done to solve this.
Thank you.