%AND function


Function
The function performs a logical or binary AND operation between parameters.
Declaration
BOOL|INT %AND(
   BOOL|INT in _a,
   BOOL|INT in _b
 )
Parameters
_alogical or integer value
_blogical or integer value
Description
The parameter types must be the same. If both parameters are of BOOL type, the function performs the AND logical operation and returns the resulting BOOL type value.
In case of integer-type parameters, the function performs the appropriate logical operation between individual corresponding bits of binary forms of the two operands.
Napíšte komentár