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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to