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

[ns] Problem with list in parameter




Hello. I have a problem. When I use a function in a tcl simulation with a list
in parameter, it doesn't work. For example if I use it like this :
$ns at 0.0 "$n0 hello $list"
It  works when the list has only one argument.

But It works when there is just
$n0 hello $list
(even if the list has many arguments).

Can somebody tell me how doing that.





ALCATEL SPACE INDUSTRIES
DTS/DAT/E  --  Stagiaire
Tel : 33 (0) 5 34 35 37 52  /  Fax : 33 (0) 5 34 35 61 69
Porte : F-2070  /  E-Mail : [email protected]