![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archive(newbie) calling a proc with a varying number of arguments
From: <just80n@gmail.com>
Date: Tue Dec 20 2005 - 19:35:02 CET
hi all!
I have a proc like this :
proc doStuff {arg} {
the thing is:
doStuff can be called like this
doStuff onlyOneArg
or like this:
doStuff OneArg AnotherArg
or like this:
doStuff OneArg AnotherArg OhMyGodAThirdArg
and I don't have any power over it
How can I not get
and pack all args into only one ?
|