Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Question about passing parameters
I know how to pass a parameter to a proc.
keylget args MSGID mh
keylget args ARGS uarg
set micro_list [keylget uarg MICRO]
The entries to be passed in the list are: GNP, GPP, MSP STP and BSB KB.
How do I pass BSB KB as one item?
David Coffey
{BSB KB}
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
Enclose in quotes or braces
Same as passing arguments to any procedure
David, you can use braces {BSB KB} or quotes “BSB KB” for passing args.
I prefer to use quotes as it implies one item containing white space, where as braces can imply a list in TCL, even though it not always true.