TrueBoolean logic is a subset of algebra used for creating true/false statements. Boolean expressions use the operators AND, OR, XOR, and NOT to compare values and return a true or false result. ... x AND y - returns True if both x and y are true; returns False if either x or y is false.
A boolean variable may be regarded (and implemented) as a numerical variable with one binary digit (bit), which can store only two values. The values are defined to have value 1 if true and 0 if false. To test for this, you can use the Ord(parm) function to get the VALUE of the parameter.