Simple syntax question I cant figure out,
i can type
if(variable) then
--code
end
so it executes on true,
whats the lua syntax for if false?
for example
if (!variable) then
--code
end
this returned an error
cheers!
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Simple syntax question I cant figure out,
i can type
if(variable) then
--code
end
so it executes on true,
whats the lua syntax for if false?
for example
if (!variable) then
--code
end
this returned an error
cheers!