ASP iif function

/ Published in: ASP
Save to your folder(s)

function that return TrueVal if Condition is true else return FalseVal.

Copy this code and paste it in your HTML
  1. Function IIF(Condition,TrueVal,FalseVal)
  2. If Condition Then
  3. IIF = TrueVal
  4. Else
  5. IIF = FalseVal
  6. End if
  7. End Function


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.