Results 1 to 2 of 2

Thread: muddMuse

  1. #1
    muddMuse Guest

    Default muddMuse

    What is the "iff" statement and how do I use it?

  2. #2
    Join Date
    Dec 1969

    Default Does Not exists in VBScript only in VB

    IIf Function<BR> <BR><BR>Returns one of two parts, depending on the evaluation of an expression.<BR><BR>Syntax<BR><BR>IIf(expr, truepart, falsepart)<BR><BR>The IIf function syntax has these named arguments:<BR><BR>Part Description <BR>expr Required. Expression you want to evaluate. <BR>truepart Required. Value or expression returned if expr is True. <BR>falsepart Required. Value or expression returned if expr is False. <BR><BR><BR>Remarks<BR><BR>IIf always evaluates both truepart and falsepart, even though it returns only one of them. Because of this, you should watch for undesirable side effects. For example, if evaluating falsepart results in a division by zero error, an error occurs even if expr is True.<BR><BR><BR>--------------------------------------------------------------------------------<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts