target | : | { string, real} |
L | : | { list, array} |
Returns: {0, posint }
Synopsis: The SearchOrderedArray function returns the first index i such that .
Examples:
> SearchOrderedArray(5, [2, 4, 6, 8, 10]); > SearchOrderedArray('mike', ['chantal', 'gaston', 'mike', 'ulrike', 'xianghong']); > SearchOrderedArray(5, [10, 8, 6, 4, 2]); # the list is unordered.