lua-users home
lua-l archive

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


>is there a way do execute dostring in Lua on the 'local' level?

No.

>Maybe this behavior is intentional, but in this case I would feel good if
>someone would explain to me why it is so.

dostring runs a chunk. Chunks run in the global level. It'd be hard to have
them run in a local scope. Why do you want to do this?
--lhf