[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] ns problem
did you write an agent called "MyAgent"? if so check the syntax of your
MyAgent() : TclClass("Agent/MyAgent") {}
in your .cc file.
if not then you should be aware that there is no agent called MyAgent within
NS...
>
>when i try to run my simulation scenario i get the following :
>
>invalid command name "Agent/MyAgent"
> while executing
>"Agent/MyAgent create _o209"
> invoked from within
>"catch "$className create $o $args" msg"
>(procedure "new" line 3)
> invoked from within
>"new Agent/MyAgent"
> (file "myprotocol1.tcl" line 65)
>
>Any help would be appreciated
>Thanks
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
Tarik