GES

The GES function does a comparison of corresponding elements in two dynamic arrays.

 

COMMAND SYNTAX

GES(DynArr1, DynArr2)

SYNTAX ELEMENTS

DynArr1 and DynArr2  are dynamic arrays with corresponding elements.

 

NOTES

The GES function compares corresponding elements in the two dynamic arrays.
If an element from the first dynamic array is greater than or equal to the corresponding element in the second dynamic array ,then a 1 is placed in the corresponding element of the resultant dynamic array.
If an element from the first dynamic array is less than the corresponding element in the second dynamic array, then a 0 is placed in the corresponding element of the resultant dynamic array.

 

EXAMPLE

A1 = "a" : @AM : 50 : @SVM: "$" : @VM : 4 : @VM
A2 = "b" : @AM : 20 : @SVM: "%" : @VM : 4
C = GES(A1, A2)

This code assigns the following value to variable C:
0 : @AM : 1 : @SVM: 0 : @VM : 1 : @VM : 1


jBC