Re: Return a variable number of values from function
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Return a variable number of values from function
- From: Oscar Lazzarino <osk@...>
- Date: 2001年11月19日 12:43:33 +0100
Reuben Thomas wrote:
>
> > Yes. What getn() really does it look up the table for a field named "n".
>
> No, getn actually counts the number of numeric fields if there's no n
> field.
Probably getn() fails because you didn't do a lua_baselibopen in your C
program.
Oscar Lazzarino