lua-users home
lua-l archive

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


On Sun, Jun 21, 2009 at 4:48 AM, Sivan Thiruvengadam<rajskm@gmail.com> wrote:
> Nice work Bertrand
> I tried to print some complex table.
> table = { __newindex = table }
> table[1]="asas"
> table[table]={table = {__newindex=table}}
> and got this.
> { setn = function: 0x8027b00c, insert = function: 0x8027af94, getn = fun
> ction: 0x8027af1c, foreachi = function: 0x8027aedc, maxn = function: 0x8
> 027af58, foreach = function: 0x8027aea0, concat = function: 0x8027ae64,
> remove = function: 0x8027afd0, sort = function: 0x8027b048 }
> I couldn't understand the output.

Changes on table, string, io, os, ... are not saved with the session.
I will return an error message in the future.

-- 
Bertrand Mansion
Mamasam