VideosMy ProjectsProgramming BlogGallery
  1. Home
  2. Blog
  3. IF/ELSE syntax in LUA
Programming Blog

Atom/RSS Feed

lua

IF/ELSE syntax in LUA

lua

If/ If Else is an integral function in any program or script. This is the syntax for such statement in LUA.

LUA IF/ELSE example

if (true) then
    -- stuff
elseif(false) then
    -- other stuff
else
    -- null
end
Join my mailing list