No announcement yet.

Using AND in an expression

  • Filter
  • Time
  • Show
Clear All
new posts

  • Using AND in an expression

    Are there any articles that deal with how to use AND in an expression?

  • #2
    Re: Using AND in an expression

    Hi RobbyH

    AND is pretty straight forward and works as you'd expect it to work [img]/ubbthreads/images/icons/smile.gif[/img]
    This is from the Help file:

    Logical operators are used to combine the results of Boolean expressions. A Boolean expression is just like any other expression, but its result is evaluated to either true or false.

    AND - Returns 1 (true) if both of its values are true. Returns 0 (false) otherwise.


    If, and only if, both expressions evaluate to True, is the final result TRUE. If either expression evaluates to False, the result is FALSE.
    Using an everyday example, for a Windows User to view Internet web pages, you could say ...

    <font color=blue>IF (User Has A Web Connection AND User Has A WebBrowser)</font color=blue>

    etc .... [lucky for the user!] [img]/ubbthreads/images/icons/smile.gif[/img]
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]


    • #3
      Re: Using AND in an expression

      Thank you Derek, I missed that in the help file [img]/ubbthreads/images/icons/smile.gif[/img]