Respected everyone

suppose i provide the initial location of a node as
$node_(0) set X_  16.0
$node_(0) set Y_ 36.0

now if i want to assign the value of x position and y position of node 0 to
another variable x1 and y1,how can i write that??

is it like this
set x1 [expr $node_(0) set X_ 16.0]
set y1 [expr $node_(0) set Y_ 36.0]

but as soon as i try to run the program it shown an error "UNKNOWN VARIABLE
set x1 "...
how do i assign the coordinates to other variables?

thank you


Reply via email to