[ns] Help: error when compiling NS format

2007-06-06 Thread khodor abboud
Hello evry body, When i am running the NS format of BRITE, set ns [new Simulator] //set na [open result.tr w] set nf [open result.nam w] $ns trace-all $na $ns namtrace-all $nf proc create_topology{} { global ns #nodes: set num_node 10 for {set i 0} {$i

Re: [ns] Help: error when compiling NS format

2007-06-06 Thread caijie
proc create_topology{} { proc create_topology {} { line1 is what you wrote in your tcl, and maybe you'd like to try line2. See? there's a space between the topology and { wish you good luck CaiJie