README.md

December 4, 2022 ยท View on GitHub

IIF Function (Imediate If)

Description

The IIF Function from Visual Basic.

More Info

i - Boolean Expression

j - Result If i is True

k - Result If i is False

Found in Microsoft's Knowledge Base.

j - Result If i is True

k - Result If i is False

Submitted On
ByTim Fischer
LevelBeginner
User Rating5.0 (15 globes from 3 users)
CompatibilityASP (Active Server Pages), VbScript (browser/client side)

Category |System Services/ Functions World |ASP / VbScript Archive File |

Source Code

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