IIf

In computing, IIf (an abbreviation for Immediate if[1]) is a function in several editions of the Visual Basic programming language and ColdFusion Markup Language (CFML), and on spreadsheets that returns the second or third parameter based on the evaluation of the first parameter. It is an example of a conditional expression, which is similar to a conditional statement.

  1. ^ "How to Use the IIf() (Immediate If) Function". 2004-06-08. Retrieved 2007-05-09.