How to pass an argument from tcl to c++?

method 1: bind the variables you want to share
method 2: For example:

 Tcl& tcl = Tcl::instance();
 tcl.eval("$cbr set packet_size_");
 char* var_temp = tcl.result();

Found here: http://web.syr.edu/~dchen02/FAQ.txt
http://web.syr.edu/~dchen02/FAQ.txt 
-- 
View this message in context: 
http://www.nabble.com/use-tcl-variable-in-c-tp20678674p20719031.html
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to