lua-users home
lua-l archive

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


Perhaps I should mention that the function Test() does get called and
execute properly with the example code.
If I put in a print( "hello" ), I see the result, just can't seem to grab
the return values.

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br]On Behalf Of Ashwin Hirschi
Sent: Wednesday, May 19, 2004 10:25 AM
To: Lua list
Subject: Re: Help with mutliple return values



Hmmm... just disregard my last message: a case of reading too quickly...

What's happening is this: the first lua_call() returns a function to execute
your Lua chunk. However, your chunk simply _defines_ Test, it doesn't
actually call it.

That's all [I think].

Ashwin.
--
no signature is a signature