lua-users home
lua-l archive

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


On 17/12/2011 13:47, Jeff Smith wrote:
6) I dont like long if else blocks, so a select case construct would have been nice IMHO.

This is usually done with a table of functions, no? A bit verbose, but quite usable.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --