Hallo,

steht in den "Language Fundamentals" der Hilfe.

**********************************************
Logical Operators
Logical operators perform tests on relations, bit manipulations, or Boolean operators.
There four operators in Bascom are :


Operator Meaning
NOT Logical complement
AND Conjunction
OR Disjunction
XOR Exclusive or

It is possible to use logical operators to test bytes for a particular bit pattern.
For example the AND operator can be used to mask all but one of the bits
of a status byte, while OR can be used to merge two bytes to create a particular binary value.

Example
A = 63 And 19
PRINT A
A = 10 Or 9
PRINT A

Output
19
11

***********************************************
Hoffe das hilft Dir.