Name

IIf Function — Microsoft.VisualBasic.Interaction

Synopsis

IIf(expression, truepart, falsepart)
expression required; Boolean

Expression to be evaluated

truepart required; any value or expression

Expression or value to return if expression is True

falsepart required; any value or expression

Expression or value to return if expression is False

Return Value

The value or result of the expression indicated by truepart or falsepart

Description

Returns one of two results, depending on whether expression evaluates to True or False. The function is typically avoided, particularly inside of a loop, because of its poor performance.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset