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 greater than or equal to corresponding elements of another dynamic array. It takes the general form:

GES(array1, array2)

Where both arguments must evaluate to arrays.

Each element of array1 is compared with the corresponding element of array2, if the element from array1 is greater than or equal to the element from array2, it returns a one in the corresponding element of a new dynamic array. If the element from array1 is less than the element from array2, it returns a zero (0). If an element of one dynamic array has no corresponding element in the other dynamic array, it evaluates the undefined element as empty, and the comparison continues.

If either element of a corresponding pair is null, it returns null for that element.

Go back to jBASE BASIC.

Was this article helpful?