Eggheads: optional parameters in proc definition

Graeme Donaldson webmonster at
Sat Jul 17 01:16:41 CST 2004

On Sat, July 17, 2004 4:21 am, CoolCold said:
> Xm...couldn't find this in proc description for tcl 8.3.4 at least.
> can u give me link to man/info?


"Args specifies the formal arguments to the procedure. It consists of a
list, possibly empty, each of whose elements specifies one argument. Each
argument specifier is also a list with either one or two fields. If there
is only a single field in the specifier then it is the name of the
argument; if there are two fields, then the first is the argument name and
the second is its default value."

Graeme Donaldson
Souperman @ #eggdrop @ Undernet

More information about the Eggheads mailing list