AluminumLua
AluminumLua copied to clipboard
for-loops not working??
Or am I just stupid? My lua code:
for i=1,10 do
print(i)
end
return 'I\'m done!'
My C# code (worked perfectly for other Lua scripts, e.g. the helloworld one)
static void Main(string[] args)
{
var context = new LuaContext();
context.AddBasicLibrary();
context.AddIoLibrary();
var parser = new LuaParser(context, "helloworld.lua");
parser.Parse();
Console.ReadLine();
}
Throws this exception:
"Error in helloworld.lua(1,5): syntax error"
Why??
Loops are not yet implemented. Not hard to do, maybe someone can do it, or else I will probably add it later when I'll need it.
Okay, thank you, can you keep me updated?
On Mon, Apr 8, 2013 at 1:58 PM, nem-e5i5 [email protected] wrote:
Loops are not yet implemented. Not hard to do, maybe someone can do it, or else I will probably add it later when I'll need it.
— Reply to this email directly or view it on GitHubhttps://github.com/chkn/AluminumLua/issues/5#issuecomment-16046305 .
Lennart Moltrecht, Aachen, Germany. Tel: 0163 7041611