quick syntax question

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!

It's like this:

1
2
3
if not variable then
--code
end

thanks :)

views:1521 update:2011/10/10 21:27:38
corona forums © 2003-2011