![](https://secure.gravatar.com/avatar/0e86c3ddf8d04cdb7b66f8fe72117b1e.jpg?s=120&d=mm&r=g)
4 Sep
2012
4 Sep
'12
9:18 p.m.
Am 04.09.2012 21:05, schrieb Marco Patzer:
if true then; print("true") else; print("false") end
This snippet fed into a standalone Lua interpreter prints “true” on the terminal.
I admit, I did not look up the syntax in the manual, but I have in mind that semicolons can be used to separate statements that are on one line.
voss@shania:~/ConTeXt> lua zzz.lua lua: zzz.lua:1: unexpected symbol near ';' voss@shania:~/ConTeXt> lua -v Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio Herbert