Welcome to LQ. .. ..
..
Ref. @ paulsm4 :
http://www.linuxquestions.org/questi...ines-813129/#7
Quote:
The TCL equivalent of a "library" is a "package".
You create it just as you would any other TCL script or procedure - you simply put code in a text file. Easy!
Here's more information:
http://www.tcl.tk/man/tcl/tutorial/Tcl31.html
|
I hope, you can use something like the above.
(The most used edit option in ns 2 is to change or add the relevant code
in ns-2.xx//<application->/file.cc , and then recompile ( with an edited
Makefile ), to have the new function(s) included in the executable 'ns'.)
..