[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: executing dostring on 'local' level
- From: "Paul Winwood"<Paul_Winwood@...>
- Date: Tue, 13 Mar 2001 14:03:39 GMT
>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?
One of the reasons that I would like to see dostring execute at the 'local'
level is during debugging. It would be very useful to able to execute
some arbitary lua code in a string in the current scope accessing
and modifying locals. This is the model suggested by the ActiveScript
debugging APIs.
--Paul.