On 5/6/06, Steve Kieu <[EMAIL PROTECTED]> wrote:
When I use luac to compile a lua script, is the script use
repeat
....
until condition
luac gives an error like:
`=' expected near `i'
the line error is the line contains until condition
Can you provide a very simple example of code that fails? I haven't
used luac for some time.
But if run the script directly using wxlua or lua, it is fine.
Strange.
I downloaded lua-5.1 from lua homepage and try to use luac without problem.
Of course can not integrate into wxLua as it complain about version
mismatch.
What version of wxLua are you using? If you use one of the snapshots
from the download page it uses 5.1, the last release 2.6.2 uses 5.0.1.
Is it a known bug? how can I fix it? At the moment I just do not use repeat
-- until as a work around :-)
I don't think we knew about this before, I prefer while loops...
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&kid0709&bid&3057&dat1642
_______________________________________________
Wxlua-users mailing list
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users