|
> I do not understand the code in PIL 3rd in Listing 15.2 (page 158) "Module with export list". > It starts: > > local function new (r,i) return {r=r, i=i} end > -- defines constant 'i' > local i = complex.new(0,1) There is a typo there. See the errata at http://www.lua.org/pil/errata.html .