lua-users home
lua-l archive

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


    t = { "a", "b", "c" }
    table.remove( t, -1 )
    table.foreach( t, print )

--->

    1 b
    2 c
    0 a

Doing a remove of -1 again shifts it down further.

Mark