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

Re: trouble with bind. (fwd)



when you adds a new var you _should_ initialize it in ns-defaults.tcl
otherwise this warning results.

> > ---------- Forwarded message ----------
> > Date: Tue, 2 Nov 1999 22:17:39 -0600 (CST)
> > From: Zhenhai Duan <[email protected]>
> > To: Ns Mailing List <[email protected]>
> > Subject: trouble with bind.
> > 
> > In the message
> > "http://www-mash.cs.berkeley.edu/dist/archive/ns-users/9808/", Nitin
> > Vaidya mentioned one problem with bind. I met this problem when I modified
> > the code of expoo.cc to add another ExponentialRandomVariable variable.
> > And got the following message:
> > 
> > warning: no class variable Application/Traffic/Exponential::avg_
> > 
> >         see tcl-object.tcl in tclcl for info about this warning.
> > 
> > I am curious that why the original two ExponentialRandomVariables work
> > without warning.
> > 
> > Thanks.
> > --Zhenhai
> > --------------------------------------------------------------
> > Zhenhai Duan		        PhD student	
> > Computer Science Department	http://www.cs.umn.edu/~duan
> > University of Minnesota, TC	Phone: (612)626-7526(O)
> > -------------------------------------------------------------- 
> > 
> > 
> > 
> 
>