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 function is used to test if elements of one dynamic array are equal to the elements of another dynamic array. The general form is as:

EQS(array1, array2)

Where Array1 and Array2 are both dynamic arrays.


EQS compares each element of the first array with the corresponding element of the second array, returning a one if the two elements are equal in the corresponding element of a dynamic array. It returns a zero if the two elements are not equal. It returns zero if an element of one dynamic array has no corresponding element in the other dynamic array. If either element of a corresponding pair is null, it returns null for that element. 

An example of use is as:

PRINT EQS(Arr1 ,Arr2)

The output of this program is: 0]1\0]0


Was this article helpful?