On 8/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> is there a way to let (wx)Lua check the script syntax and report possible 
> errors, without running the script if it's error-free?
>
> Just think of a script editor, which might have a button "Check syntax", but 
> you don't want the script to run actually.

Yes, you can use wxLuaState::CompileString/Buffer to do this.

Regards,
    John Labenski

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wxlua-users mailing list
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to