[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Some enhancement requests
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 4 Apr 2000 10:09:27 -0300 (EST)
>From: Edgar Toernig <firstname.lastname@example.org>
>Why I want to test whether a table is empty?!? Because I want to see if it
>contains some elements. *verypuzzled*g*
I meant only that I did not seem to be a "natural" thing to do in Lua.
I'd say that the "natural" thing to do with tables is to use "foreach", or a
loop of "next", in which nothing gets done if the table is empty.
But your mileage may vary...