Ternary
Posted: Tue Sep 06, 2011 11:22 am
Does LC support the ternary operator ?
And if not, when can you have it ready for me please ?
And if not, when can you have it ready for me please ?

Questions and answers about the LiveCode platform.
https://www.forums.livecode.com/
Code: Select all
function iif theArg1,theValue1,theValue2
if value(theArg1) then
return theValue1
else return theValue2
end iif