Tools Links Login

IIF Function (Imediate If)

The IIF Function from Visual Basic.

Original Author: Tim Fischer

Inputs

i - Boolean Expression
j - Result If i is True
k - Result If i is False

Assumptions

Found in Microsoft's Knowledge Base.

Returns

j - Result If i is True
k - Result If i is False

Code

Function IIf(i,j,k)
  If i Then IIf = j Else IIf = k
End Function

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 105 times

Categories

ASP/ HTML

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.