Hi myrroddin,
So it is better to write functions in this way ?
Lua Code:
dataobject.OnClick = function(object, button)
-- open configuration
end
even if I put them out of its context ?
But I'd like to know also if it could be a problem to write in the other way or at the end of the story both syntax works in the same way with the same results.
Thanks so much for your time.
Thanks.