Please edit the code in post #1 to use code tags, i.e.
write [/code] at code text end, and [code] at code start.
.. Or use the # button in the 'Advanced Editor'.
The tcl code that you show, is not meant to be run with $ ns <file>.tcl
.. It is a "traffic" or "scene" file :
To be used together with a tcl file.
Quote:
I'm writing the tcl file below check it please.
I have taken the tcl from the internet and just
want to run and explore.
|
Which file are you writing ? ?
And which file is from the Internet ?
Please show a link to the file that you downloaded.
.