[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Getting a reference to the current function
- From: "Gavin Kistner" <gavin.kistner@...>
- Date: Wed, 4 Oct 2006 14:10:54 -0600
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!