[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How do you cope with 2 or more optional parameters?
- From: spir <denis.spir@...>
- Date: Fri, 18 Dec 2009 18:07:02 +0100
PS: There are certainly several techniques (eg thought at requiring a table for opt args). I'd like to review various possibilities.
Hello,
Well, I guess all is in title.
How you cope with a cas like the following:
func = function(param, optparam1, optparam2) dostuff end
...
func(arg, optarg2)
Names arguments are very cool in some cases ;-)
Denis
________________________________
la vita e estrany
http://spir.wikidot.com/