Use
set link12 [$ns simplex-link $n1 $n2 512Kb 0ms DropTail] (it has a missing space char nect to "[") Pedro Vale Estrela > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of fafou > Sent: terça-feira, 5 de Setembro de 2006 16:24 > To: ns-users@ISI.EDU > Subject: [ns] Problem with the "queue" command > > > > Hi everybody, > I have written these two lines of tcl code: > -------------------------------------------------------------------------- > -------- > set link01 [$ns simplex-link $n0 $n1 512Kb 0ms DropTail] > set queue01 [$link01 queue] > > set link12[$ns simplex-link $n1 $n2 512Kb 0ms DropTail] > set queue12 [$link12 queue] > -------------------------------------------------------------------------- > -------- > > when launching the execution this error message is shown > > -------------------------------------------------------------------------- > ------- > unknown command "_o47 _o57" > when executing "$link12 queue" > -------------------------------------------------------------------------- > -------- > > This means that the first command "$link01 queue" worked well but not the > second one. > The more funny is that when I delete the first two lines, there isn't any > problem. > > Can anybody help to solve this problem? > Ah, this problem appears with both ns-2.27 and ns-2.28 versions > > Thanks a lot! > > > > > > -- > View this message in context: http://www.nabble.com/Problem-with-the- > %22queue%22-command-tf2221427.html#a6154133 > Sent from the ns-users forum at Nabble.com.