Re: [ns] tcl and c++ files

2010-08-19 Thread Jonathan Petit
Hi, I know that it's an old post but the answer could help. In a tcl file, you have: set val(nn) 10 In a c++ file, to access to $nn value: int maxnn; Tcl tcl=Tcl::instance(); tcl.evalc(set val(nn)); maxnn = atoi(tcl.result()); In maxnn variable, you

[ns] tcl and c++ files

2007-04-20 Thread leticia bela
Hi, how to send a value of a variable from the tcl file to the c++ file in order to being able to use it in c++ file Thanks - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions