[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns]use "setdest" to create node-movements
Dear ns users,
I use setdest to create a node-movement file.
I use that file in my wireless scenario.
However, when I run my tcl file, an error comes out.
It says that it can't read "god_" and there is no such variable.
I attached that error message.
Could anyone give me a hand?
thanks,
Charles
-----------------------------------------------------------
Loading scenario file...
can't read "god_": no such variable
while executing
"$god_ set-dist 0 1 16777215"
(file "./w2-test" line 13)
invoked from within
"source.orig ./w2-test"
("uplevel" body line 1)
invoked from within
"uplevel source.orig $fileName"
(procedure "source" line 12)
invoked from within
"source $opt(sc)"
invoked from within
"if { $opt(sc) == "" } {
puts "*** NOTE: no scenario file specified."
set opt(sc) "none"
} else {
puts "Loading scenario file..."
source $op..."
(file "wireless2.tcl" line 183)