binarySearch64(search: Integer64; index: Integer64 io): Boolean;
The binarySearch64 method of the Integer64Array class sets the index parameter to the position in the array of the element specified in the search parameter as an
This method returns true if another specified element is located. If no element is found, this method returns false and places the position in the array at which the element should be added in the index parameter.
The code fragment in the following example shows the use of the binarySearch64 method.
if not bigNumbers.includes(num) then bigNumbers.binarySearch64(num, pos); bigNumbers.insert(pos + 1, num); endif;