lua-users home
lua-l archive

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

What would it mean if data is a table ? Would it be a
positional "normal add"(like in matrix operation t[x]
= t[x] + data[x] for x <= len of data) or extend or
just add one item data to the table ? What if I want
one behaviour in certain cases and the other in some
other cases ?

--- Inmate2993 <> wrote:

> I believe Lua doesn't yet have a += operator. It'd
> make a nice append 
> feature.
> LongInconvienietTableName += data;
> I'd personally love it as an operator for numbers
> and strings too, but 
> that's just my C roots showing.
> --
> William C. Bubel

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around