lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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/