Re: Re: Tables of Functions
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Re: Tables of Functions
- From: Glenn Maynard <glenn@...>
- Date: 2006年9月25日 20:04:27 -0400
On Mon, Sep 25, 2006 at 04:58:59PM -0700, Ken Smith wrote:
> Right. Ok. I can use the non-syntactic sugar version to create my
> list of functions. Thank you for the responses.
Or just
list = {
function() return "a" end,
function() return "b" end,
function() return "c" end,
}
print(list[2]())
--
Glenn Maynard