[GiDlist] .central.s info gendata
Posted: Mon Nov 04, 2002 4:20 pm
Hello,
Imagine I have put the following lines in my .prb file :
QUESTION: Number_of_steps
VALUE: 10.
I would like to know whether it is possible to get this data in a tcl file by a command like :
.central.s info gendata xxx
(xxx being a command like Number_of_steps)
instead of calling the command :
[lindex [.gid.central.s info gendata] nbr]
(nbr being the position of this data in the list)
because, if I do this, it will be very difficult to add other fields in the future without changing all the tcl files.
Thanks for answering my question,
Christophe Louis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20021104/baf7fe79/attachment.htm
Imagine I have put the following lines in my .prb file :
QUESTION: Number_of_steps
VALUE: 10.
I would like to know whether it is possible to get this data in a tcl file by a command like :
.central.s info gendata xxx
(xxx being a command like Number_of_steps)
instead of calling the command :
[lindex [.gid.central.s info gendata] nbr]
(nbr being the position of this data in the list)
because, if I do this, it will be very difficult to add other fields in the future without changing all the tcl files.
Thanks for answering my question,
Christophe Louis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20021104/baf7fe79/attachment.htm