AMT Datasouth PAL User Manual
Page 151
![background image](/manuals/733850/151/background.png)
145
or
or
Description
Performs a logical or bit-wise or operation on two boolean or integer values.
Usage
Any1Bool Any2Bool
or
OrBool
Any1Int Any2Int
or
OrInt
Any1Bool
Boolean. First operand for the logical or operation.
Any2Bool
Boolean. Second operator for the logical or operation.
OrBool
Boolean. Result of the logical or operation.
Any1Int
Integer. First operand for the bit-wise or operation.
Any2Int
Integer. Second operand for the bit-wise or operation.
OrInt
Integer. Result of the bit-wise or operation.
Comments
The following table lists the results of performing the logical or operation on two boolean values.
Any1Bool
false
true
Any2Bool
false
false
true
true
true
true
The following table lists the results for each bit position when performing the bit-wise or operation
on two integer values.
Any1Int
0
1
Any2Int
0
0
1
1
1
1