[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: Controlling lua features
- From: Bulat Ziganshin <bulat.ziganshin@...>
- Date: Sun, 10 May 2009 18:01:15 +0400
Hello steve,
Sunday, May 10, 2009, 5:45:10 PM, you wrote:
> WIthout the {} check, then people can call functions you provide, but
> can't write a loop.
s = "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
s = s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s
s = s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s
s = s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s
s = s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s
s = string.gsub(s, "!.*x","")
> If you don't want to be too restrictive, then debug.sethook is
> probably the way to go. Set it to callback every n (some large number)
> of instructions and take appropriate action.
the only safe way is use of windows thread and killing it
--
Best regards,
Bulat mailto:Bulat.Ziganshin@gmail.com