ret = IIf(expr, true_expr, false_expr)
expr is True (non-zero).
If it is, the function returns the expression specified in true_expr,
else false_expr is returned. It is important to note that both true
and false expressions are evaluated in every case, no matter if the
expression is True or False. So things like IIf(a <> 0, 5 / a, 0) will
not work for a=0 because Hollywood will try evaluating 5/0 which
obviously does not work.
TrueFalse