Hi,

I'm having a problem when trying to execute in tcl the set command at a 
specific 
time.

Following I'm listing the concept of what I'm trying to achieve

set var_value 8

$ns at 100 "set var_value 10"

$ns at 100 "puts \"Value is $var_value \""

When the above code is executed i get value = 8 instead of 10.

It seems that the statement "set var_value 10" is not executed. 
Am I missing something?

Any feedback is appreciated.

All the best,
Lup.


 
____________________________________________________________________________________
Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

Reply via email to