|
|
||
|
On 10-Jul-07, at 1:37 PM, Lavergne Thomas wrote:
at start I have : value = object[idx] it was simple and elegant. I've hopped for this : value, delta = object[idx] but it's impossible.
Sure, but you could certainly implement it as:
value, delta = object(idx)
Just give object a __call metamethod.