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

Re: Creating new command in ns



init_misc(void) is defined in misc.cc, and in that file you can find
examples as how to create new commands in ns.

- Haobo

On Sat, 22 May 1999, Satpute. Madhavi wrote:

> Hi,
> 
> I have had a hard time in creating new command in ns. I tried the example
> command "hi" given in "ns Notes and Documentation". But it doesn't give
> you full details of what all changes are needed to make. According the
> example you have to create the TclCommand instance in thr routine
> init_misc(void). But it gives me all the errors.. Please help me.. if
> someone of you knows how to create a new command in ns... please let me
> know.
> 
> Thanks
> madhavi
> 
> 
>