Thank you for the explanation Richard. Good to know the historical background of ticks.
so for a list of 100000 items the worst case for my code is tMax 100000 to find 99999 it takes about 12 ticks and roughly 190 milliseconds Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/function-for-greatest-object-in-list-less-than-or-equal-to-a-value-tp4697221p4697273.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode