[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] tcl script size



On Mon, 30 Jul 2001, Xidong Deng wrote:

>   I found a very strange thing in my simulation using ns,
>   I wrote a tcl script of about 550 lines, but when I run it, it just stuck, it took me
> one hour to check what's wrong with this simple script but there's nothing. 

do you have the tcl debugger installed?

> At last I find
> if I delete several comment lines, then everything is OK ! 

were you putting braces in comments? They have to balance even though
they're commented.

L.

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>