Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



The ANDS function creates a dynamic array of the logical AND of corresponding elements of two dynamic arrays. It takes the general form: 

ANDS (array1, array2)

Each element of the new dynamic array is the logical AND of the corresponding elements of array1and array2. If an element of one dynamic array has no corresponding element in the other dynamic array, it returns a false (0) for that element.
If both corresponding elements of array1 and array2 are null, it returns null for those elements. If one element is the null value and the other is zero or an empty string, it returns false for those elements.

An example of use is as: 

A = 1:@SM:4:@VM:4:@SM:1
B = 1:@SM:1-1:@VM:2

to output: 


Go back to jBASE BASIC.

Was this article helpful?