Hi,
Tcl& tcl=Tcl::instance();
tcl.resultf("%1.1f",value);
where resultf(const char* fmt,...) uses the C++ format
fmt of printf to passe a string to the TCL
interpreter.
There are other functions similar to resultf. I am sure you
can find them easily on the Web.
Best,
Behnaz
- Original
Dear All!
Do any body knows how to divide the MAC layer time into equal length
intervals. I am using 802.15.4, so what files I have to modify, mac.cc and
mac.h or other files.
Any body who is having related code which can be helpful please share.
--
Regards
Fazlullah Khan
Department of Electrica
Hello Friends,
How it is possible to check a value of a parameter in the tcl script from a .cc
code?
e.g. in AODV i have declared a variable and assigning a value at certain point.
I want tcl script can read that value so that I can perform some other
operation in tcl script.
I know use of bin