|
Patrick Donnelly wrote:
I see now thanks. Perhaps an inline function addition would be nice, though it seems to be an almost distasteful addition. I just find these constructs inelegant: local x = function(a, b) end function sort() table.sort(sometable, x) end
just a bit nicer: do local function comparison (a,b) -- whatever end function mysort () table sort (sometable, comparison) end end -- Javier