How to use a variable as default value of a TCL proc argument

Viewed 3939

I've got a variable that I would like to use as default value for an argument:

proc log {message {output $::output}} {
   ....
}

Is there a way to do this or need I to evaluate the variable inside my proc?

3 Answers
Related