Return Total of a Given Repeated Number in a List

Roger Guay irog at mac.com
Fri May 24 17:05:37 EDT 2024


The single most important feature of LiveCode is this list. Thank you, Bob, Alex, Mike and Andreas

Roger

> On May 24, 2024, at 8:26 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Actually:
> 
> put tList into tTest — so you don’t lose the original contents of tList
> filter items of tTest with 2
> put the number of items of tTest
> 
> Bob S
> 
> 
>> On May 24, 2024, at 8:23 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Filter items of tList with 2;put the number of items of tList
>> 
>> Bob S
>> 
>> 
>>> On May 23, 2024, at 7:07 PM, Roger Guay via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> 
>>> Hi all,
>>> 
>>> Please, what’s the easiest way to return the total number of a given repeated number in a list of numbers? IOW, how many times is 2 repeated in a list containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help.
>>> 
>>> 
>>> Thanks,
>>> 
>>> Roger
> 
> _______________________________________________
> 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