|
> Hello everyone
> I am reading a function check_conflic, but I can't think of the
> actual Lua code corresponding to it. Can anyone give me an example? thank
> you all. by the way, i'm reading lua5.1.5
local a, b = {}, 10
a[b], b = 20, 30
print(a[10], a[30])
The correct answer is 20, nil. If you remove check_conflict, this
example will print nil, 20.
-- Roberto