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

[ns] command args




In my finish procedure I am doing something like

$p0 print_stats

This works fine, but when I try to pass an argument to it:
$p0 print_stats $bytes_received_

I get the following error:
ns: finish:
    (_o34 cmd line 1)
    invoked from within
"_o34 cmd print_stats 120000"
    invoked from within
"catch "$self cmd $args" ret"
    (procedure "_o34" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$p0 print_stats $bytes_received_"
    (procedure "finish" line 13)
    invoked from within
"finish"

Can somebody please help?

Thanks,
Apu