lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Sample code:

rules=setmetatable({x=5,66,y=9}, { __call=pairs })
    for k, v in rules do print(k, v) end

Output:
Infinite loop values k and v not changing, k == next and v==rules

Question:
This is normal, not bug?