Hello,

I implement a new application in NS2 but I have an error.
I want to know the changes needed for this implementation.


The message was :
 
invalid command name "Application/Vgrid"
    while executing
"Application/Vgrid create _o50 "
    invoked from within
"catch "$className create $o $args" msg"
    invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
    (procedure "new" line 3)
    invoked from within
"new Application/Vgrid"
    invoked from within
"set vehicle [new Application/Vgrid]"
    (file "v2g_2.tcl" line 98)
                                          

Reply via email to