|
On 05/11/2016 11:08 AM, Jonathan Goble wrote:
On Wed, May 11, 2016 at 2:26 AM, Thomas Jericke <tjericke@indel.ch> wrote:I don't think it's a bad idea to structure your configuration parameters. And once you do that you don't have that many globals in configuration files either: return { Window = { x = 5 y = 100 } } endAnother argument against this style: you forgot the mandatory field separator comma after "x = 5". :-)
Right, but there you have another nice Lua feature return { Window = { x = 5, y = 100, } } end ;-) -- Thomas