Re: How to get default values to parameters of class object member methods [incr tcl]



Andrew Falanga wrote:
Thanks to all for helping fix my simple blunder. Now I've got
another
one and I'm not sure if there is a resolution. I've tried a few
different things, but nothing seems to be working. As well all
know, if a proc is to have a default value for a parameter, it's
defined something like this:

proc someproc { { param = foo } } {
# doing lots of important stuff
}

Something like that, but not exactly. It should be:

proc someproc { { param foo } } {
# doing lots of important stuff
}

And that will work for itcl methods as well.


Schelte.
--
set Reply-To [string map {nospam schelte} $header(From)]
.