Are there any articles that deal with how to use AND in an expression?
Announcement
Collapse
No announcement yet.
Using AND in an expression
Collapse
X
-
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:
[/quote]
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.
[/quote]
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]
Comment