Talk:IfElse

From Multi Theft Auto: Wiki
Revision as of 00:57, 17 May 2009 by Talidan (talk | contribs)
Jump to navigation Jump to search

There's not really any use for this, as far as i can tell. Lua supports this by its syntax sugars:

moo = (variable) and (ifTrue) or (ifFalse)

works the same as

moo = (varible) ? ifTrue : ifFalse

in C++.