AluminumLua
AluminumLua copied to clipboard
Nested if/then/else doesn't work
if false then
if false then
print("two falses are true")
else
print("one false is true")
end
else
print("at least one false is false")
end
Expected output: at least one false is true
Actual output: Unhandled Exception: AluminumLua.LuaException: Error in foo.lua(9,7): Expected 'then'
You might have to write:
else then
Or just do:
if not (whatever) then
instead of else until this is resolved.