function iif theArg1,theValue1,theValue2
if value(theArg1) then
return theValue1
else return theValue2
end iif
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode