[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about add member function in ns
If you add new methods into default ns scripts, you must recompile ns in
order for them to take effect. Alternatively, simply add those new
instprocs into your own sim script.
- Haobo
On Mon, 9 Aug 1999, richard wrote:
> Hi:
> The question is that I add a new member function of class Simulator to
> ns-lib.tcl like
>
> Simulator instproc xxx {} {
> :
> :
> }
>
> After this step,I create a test Tcl script with this member function
> and run it.But it does not work and show me message like " _o3: unable
> to dispatch method xxx while excuting".
>
> Please tell me whether I take a wrong steps. And what should be
> modified.
>
> Thanks a lot.
>
>
>
> Richard Liu
>
>
>
>
>
>