[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Shorthand for appending to a table
- From: gary ng <garyng2000@...>
- Date: Tue, 12 Sep 2006 14:10:04 -0700 (PDT)
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 <firstname.lastname@example.org> wrote:
> I believe Lua doesn't yet have a += operator. It'd
> make a nice append
> 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