I did a search and didn’t see anything relevent…I’m trying to make a proc that has a few arguments. Of the few arguments, one of them will be an “out” argument so I can return a value back to the original call and use the “out” value. Basically, I am using the RETURN to give me one value, but I want more than one value returned to me. I could probably RETURN an Array, but I want to know if my question is possible.
proc do something {inItem inItem2 outMsg} {
….
….
set outMsg “Testing this $inItem.”
return 5;
}
Any thoughts? We did this all the time in PB, but not getting good results with Tcl.