Does Visual Logic support logical operators?
A. Yes. The AND, OR, XOR, and NOT operators can be used to create compound conditions. In Visual Logic (or any programming language) we recommend that compound conditions use parentheses to explicitly denote each condition. This recommendation is based both on the emphasis of clarity, and the realities of multiple levels of operator precedence. This is especially important for a non-strictly typed language such as Visual Logic. Example: Create an Output statement with the following expression: (4 > 3) AND (3 > 2) With parentheses the expression is unambiguous and will evaluate as you expect it to (e.g., TRUE). If you remove the parentheses, the condition may evaluate in an unexpected or undesirable way.