Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Genetric Tcl proc passing file name as Argument
I want create genric tcl proc that can filename as argument used in TPS Directory parse Option under FTP Option.I am unable to know what actually is wrong
I think you just need to remove the double colons in your statement:
set module tpsGenericFileParse/$::HciConnName
Change it to:
set module tpsGenericFileParse/$HciConnName
Hope this helps.
Jim Cobane
Henry Ford Health
Jim:
$::HciConnName should be OK. the :: refers to the global namespace. It is the same ss this
global HciConnName
$HciConnName
Your problem is here
set module tpsGenericFileParse/$::HciConnName # it describes where the text came from
If you put a comment on the same line you must terminate with a semicolon (;)
Try this
set module tpsGenericFileParse/$::HciConnName ;# it describes where the text came from