AMT Datasouth PAL User Manual
Page 37

31
and
and
Description
Performs a logical or bit-wise and operation on two boolean or integer values.
Usage
Any1Bool Any2Bool
and
AndBool
Any1Int Any2Int
and
AndInt
Any1Bool
Boolean. First operand for the logical and operation.
Any2Bool
Boolean. Second operator for the logical and operation.
AndBool
Boolean. Result of the logical and operation.
Any1Int
Integer. First operand for the bit-wise and operation.
Any2Int
Integer. Second operand for the bit-wise and operation.
AndInt
Integer. Result of the bit-wise and operation.
Comments
The following table lists the results of performing the logical and operation on two boolean values.
Any1Bool
false
true
Any2Bool
false
false
false
true
false
true
The following table lists the results for each bit position when performing the bit-wise and op-
eration on two integer values.
Any1Int
0
1
Any2Int
0
0
0
1
0
1