Min function

Terence Heaford t.heaford at icloud.com
Sun Feb 28 07:01:19 EST 2016


Thanks,

That is a good solution which will also apply to Max.

I just thought that anything that can be rolled into the engine would be faster and
usually every tick/millisecond that can be gained is worth having in an interpreted language.


Thanks again


Terry


> On 28 Feb 2016, at 11:14, Thierry Douez <th.douez at gmail.com> wrote:
> 
> What about this?
> 
> return  min( replaceText( myListOfNumbers, "\n",comma))
> 
> 
> 2016-02-28 12:05 GMT+01:00 Terence Heaford <t.heaford at icloud.com>:
> 
>> 
>> I thought Min may work with the itemDelimiter but apparently not.
>> 
>> Is that something that would be useful?
>> 
>> set the itemDelimiter to return
>> 
>> return Min (myListOfNumbers) — based on return not comma
>> 
> 
> 
> 
> -- 
> ------------------------------------------------
> Thierry Douez - http://sunny-tdz.com
> sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list