EQS


The EQS function tests if elements of one dynamic array are equal to the elements of another dynamic array.

 

COMMAND SYNTAX

EQS(array1, array2)

EQS compares each element of array 1 with the corresponding element of array 2 and returns 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 does not have a corresponding element in the other dynamic array. If either element of a corresponsing pair is null, it returns null for that element.

 

EXAMPLE

A=1:@VM:45:@SM:3:@VM:"one"

B=0:@VM:45:@VM:1

PRINT EQS(A,B)

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

 


jBC