LES


The LES function determines whether elements in one dynamic array are less than or equal to the corresponding elements in another dynamic array.

 

COMMAND SYNTAX

LES(array1, array2)

Each element of array1 is compared with the corresponding element of array2. If the element from array1 is less than or equal to the element from array2, a 1 is returned in the corresponding element of a new dynamic array. If the element from array1 is greater 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 of a corresponding pair of elements is null, it returns null for that element.

 


jBC