lua-users home
lua-l archive

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


From: David Given
> You can use closures for this.

True. Something feels wrong to me about using a closure to tie certain
variables to a certain function, but it's certainly effective.

It's also a little verbose, which I was hoping to avoid, but can be a
little more terse than the call metamethod technique.

Thanks for the help!