Originally posted by Wesley Combs
I have a tcl proc that accepts multiple arguments like so
proc ECP_Send_Email {recipient email_server subject body} {
#Do work here.
}
I want to call that proc sending it the arguments.
Well I want to pass all the arguments in one variable though, like so:
set strArgs {
test@test.com myserver test test}
ECP_Send_Email $strArgs
is there a way to do this? Maybe a breakout command that will break out each of the items into a variable and pass it to the proc?
Thanks