lua-users home
lua-l archive

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


On Thu, Dec 30, 2010 at 11:46 AM, Dirk Laurie <dpl@sun.ac.za> wrote:
> Standard table functions don't destroy the pristine property
> and updating (b) is trivial.

This is incorrect.  For array t={1,2,3}, both
  table.insert(t, 1, nil)
and
  table.insert(t, -42, 'x')
destroy your "pristine" property.

Greg F