[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua as Configuration Conditional Statement inside table definition
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 10 Nov 2010 20:24:17 +0200
On Wed, Nov 10, 2010 at 8:02 PM, HyperHacker <hyperhacker@gmail.com> wrote:
> You might wrap table.insert in another function for added readability,
> but already this is a nice concise way to keep related options grouped
> together and make it clear to those without much Lua knowledge what's
> going on.
Or even doing a little closure voodoo and providing 'familiar' dot notation
Config = List()
Config.add (1,'one')
Config.add (2,'two')
...
Depends on the audience...
steve d.
- References:
- Lua as Configuration Conditional Statement inside table definition, Gopalakrishnan Subramani
- Re: Lua as Configuration Conditional Statement inside table definition, steve donovan
- Re: Lua as Configuration Conditional Statement inside table definition, Gopalakrishnan Subramani
- Re: Lua as Configuration Conditional Statement inside table definition, steve donovan
- Re: Lua as Configuration Conditional Statement inside table definition, Luiz Henrique de Figueiredo
- Re: Lua as Configuration Conditional Statement inside table definition, KHMan
- Re: Lua as Configuration Conditional Statement inside table definition, steve donovan
- Re: Lua as Configuration Conditional Statement inside table definition, KHMan
- Re: Lua as Configuration Conditional Statement inside table definition, steve donovan
- Re: Lua as Configuration Conditional Statement inside table definition, KHMan
- Re: Lua as Configuration Conditional Statement inside table definition, Gopalakrishnan Subramani
- Re: Lua as Configuration Conditional Statement inside table definition, HyperHacker