lua-users home
lua-l archive

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


On Fri, Nov 20, 2009 at 02:56, David Given <dg@cowlark.com> wrote:
> Matthew Wild wrote:
> [...]
>> Try prefixing the chunk name you pass with '@', e.g. '@myres'. Worked
>> that one out the hard way :)

> The docs are really, really obscure, but there --- see the definition
> for lua_Debug.source in section 3.8 of the manual.

> TBH I think it would be nice to have this described in the documentation
> for loadstring() and load(). It took me ages to find.

I second that. Found this one the hard way as well.

Alexander.