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

Re: [ns] HOW TO ACCESS C++ VARIABLE USING TCL



There are a lot of examples in ~ns/tcl/lib. For example,
search for "energy" in ~ns/tcl/lib/ns-lib.tcl and
~ns/mobilenode.cc

Kun-chan Lan

On Sun, 14 Jan 2001, shailesh sheoran wrote:

> hi,
>   i needed to define a variable in tap.cc and access it from my  .tcl
> script. i couldnot quite decipher the information from the manual. would
> someone please tell me how to do it.
>   i would really appreciate it.
> thanks,
> Shailesh Sheoran
> M.ASc. 
> Department of Electrical Engineering
> University of British Columbia
>