lua-users home
lua-l archive

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


Hello,

Is there a way to pass additional params to the function pointed by __tostring? (Would be practicle for instance to pass the set of already seen tables in stringing functions specialised for arrays, maps, objects, trees...) However, when I try s=tostring(x, p), the target of __tostring does not seem to receive p.

Denis