Re: executing dostring on 'local' level
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: executing dostring on 'local' level
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2001年3月13日 10:55:35 -0300 (EST)
>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