[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: work4 - load()
- From: David Burgess <dburgess@...>
- Date: Mon, 17 Jan 2005 10:47:39 +1000
So why does my example print two copies of "hello" ?
Also why does
> load(function() return 1 end)
generate an infinite loop?
I am using the C++ try/catch rather than setjnp/longjmp in ldo.c.
Is this a bug, can you explain further or do I need to hit the debugger?
DB
Luiz Henrique de Figueiredoaf.puc-rio.br> wrote:
> On Sun, Jan 16, 2005 at 01:20:54PM +1000, David Burgess wrote:
> > The Lua base function load(), I do not understand. Can someone
> > please explain what its intended usage is?
>
> "load" is the equivalent of "lua_load": it loads a chunk via a reader function.
> --lhf
>