function for greatest object in list less than or equal to a value

Dr. Hawkins dochawk at gmail.com
Wed Oct 14 14:25:08 EDT 2015


On Mon, Oct 12, 2015 at 6:35 AM, <dunbarx at aol.com> wrote:

> My gadget adds the index in a parameter to the function. if it already
> exists in the list, the addition is superfluous, but harmless.
>

But if the search list is "2, 4", and the search value is 3, doesn't this
return "3" rather than 2?


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list