ANDS Function
Performs a logical AND operation on the corresponding elements in two dynamic arrays.
Syntax
ANDS(dynArray1, dynArray2)
Syntax Elements
dynArray1, dynArray2
DataBasic expressions
that evaluate to dynamic arrays.
Return Value
A dynamic array with a structure formed by combining dynArray1 and dynArray2. Each element contains the result of performing a logical AND operation between the corresponding elements in the original arrays.
Comments
For details of the logical values of different types of element, refer to Logical Expressions.
Missing elements (those that appear in one array, but not in the other) are treated as null.
See Also
ORS function.
Example
ARY1 = @TRUE:@VM:@FALSE:@VM:@TRUE:@VM:@FALSE
ARY2 = @TRUE:@VM:@TRUE:@VM:@FALSE:@VM:@FALSE
NEWARY = ANDS(ARY1, ARY2)
Sets NEWARY to "1VM0VM0VM0".