lua-users home
lua-l archive

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

Zitat von Luiz Henrique de Figueiredo <>:

> > If I use loadstring(...), can I associate a line number with that chunk so
> that
> > if the string was retrieved from another string, the line number points
> into
> > the right linenumber of its "parent" string?
> Sorry, no. But you can play games with load(...) and send empty lines before
> sending the real stuff. --lhf

Oh, didn't thought of that. That will do it too.
Thanks alot.