Like in python we are having pass statement.
def calcu(): pass
in Lua is there any statment like this ? i want to do
if connect then
pass in Python does nothing. In Lua, you can just leave it empty:
pass
if connect then end
If you want a placeholder, use an empty block
if connect then do end end
or if in Lua 5.2, use a semicolon:
if connect then ; end