I am new to TCL and having tough times to call a 3rd part proc which works perfectly if we pass values like below:
set result [3RD_par_api {{ifAdminStatus.2 Integer 1}}]
puts $result
Where ifAdminStatus.2 is an OID [SNMP Object Identifier] and Integer is datatype and value to be set is 1.
The code works fine but when I try to do using my script variables:
set result [3RD_par_api {{$id $data $val}}]
puts $result
I get error -
"illegal binding ...$id $data $val"
How can I pass user defined / variables as arguments to 3RD_par_api method and what does argument in double braces means "{{ }}"?