lua-users home
lua-l archive

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


> -----Original Message-----
> From: lua-l-bounces@lists.lua.org 
> [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Javier 
> Guerra Giraldez
> Sent: Tuesday, December 14, 2010 5:08 PM
> To: Lua mailing list
> Subject: Re: Undefined behavior of table.remove
> 
> On Tue, Dec 14, 2010 at 10:49 AM, Krawtschunowski, Wladimir
> <WKrawtschunowski@vectron.de> wrote:
> > >From user point of view is the behaviour of the 
> table.remove function undefined. Is it a feature or a bug?
> 
> It's an omission in documentation.  it should say 'table as an array',
> and not just 'table'.  your example is not an array in the documented
> sense.

Ok. Thanks to all.

--- 
Vectron Systems AG, Willy-Brandt-Weg 41, 48155 Münster, Germany, Phone +49-251-2856-0, Fax +49-251-2856-560, 
Amtsgericht Münster HRB 10502, Vorstand / Board of Management: Jens Reckendorf, Thomas Stümmler, 
Aufsichtsrat / Supervisory Board: Christian Ehlers (Vorsitz / Chairman)