[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ns] Urgent help!!!
I'm using ns-2.1b6, the ~ns/tcl/lib/ns-mobilenode.tcl file is called from the
wireless-test.tcl file to set up wireless network components (so I think).
The errors seems to be coming from the add-target function within
ns-mobilenode.tcl. infact at first it raised errors about close-braces, the
error only disappeared after I added 2 closing braces at the end of the file -
that's the only change I've made so far, then I started receiving the error I
snet out.
Thanks for your help
kingsley
>===== Original Message From Tarik Alj <[email protected]>
=====
>ok. wich version of ns are you using? I assume you mean ns-mobilenode.tcl
>(couldn't find it on my ns nor on the cvs)? there should not be any problems
of
>this kind (well you never know) with this sort of file. You could get it from
>the cvs, either replace your old ns-mobilenode.tcl or "diff" it to make sure
you
>haven't introduced any syntax errors or typos.
>
>>X-WebMail-UserID: [email protected]
>>Date: Tue, 24 Oct 2000 09:53:24 -0400
>>From: kudoro1 <[email protected]>
>>To: Tarik Alj <[email protected]>
>>Cc: ns-users <[email protected]>
>>X-EXP32-SerialNo: 00103630
>>Subject: RE: [ns] Urgent help!!!
>>Mime-Version: 1.0
>>Content-Transfer-Encoding: 7bit
>>
>>The typo is only in the mail not in the program, I've even deleted all
>>comments following "if" and "else" statements yet no luck.
>>
>>>Please help, each time I run the wireless-test.tcl script, I get the
>>following
>>>errors from within ns-mobile.tcl.
>>
>>>
>>>wrong # args: extra words after "else" clause in "if" command
>>> while compling
>>>"if {$newapi == "ON"} { ..."
>>> ("if" then script line 32)
>>>"if {[Simulator set RouterTrace_] == "ON"} { ..."
>>
>>>
>>>Kingsley
>>
>
>Tarik