[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Code Error



Hi all,

I am trying to compile some code in ns-2.1b6-current 'snapshot' and I get the 
following error at this line:

---code line---

# I am trying to set address for sender_addr

set sender_addr [$sender set addr_]  


---error message---
can't read "addr_": no such variable
    while executing
"subst $[subst $var]"
    (procedure "_o84" line 5)
    (Object next line 5)
    invoked from within
"_o84 next addr_"
    ("eval" body line 1)
    invoked from within
"eval $self next $args"
    (procedure "_o84" line 18)
    (Agent set line 18)
    invoked from within
"$mftp1 set addr_"
    (file "mftp_demo.tcl" line 87)
------

Any suggestions of possible cause of error !!

-- Martin