Bernadette Perrin Riou on Sat, 08 Feb 2025 13:12:33 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: List size ?


or
?  L=List([2,5,6])
%1 = List([2, 5, 6])
? #L
%2 = 3


> Le 8 févr. 2025 à 12:51, Pierre Charollois <pierre.charollois@gmail.com> a écrit :
> 
> Hello,
> 
> it is length(List);
> 
> best regards,
> 
> Pierre
> 
>> Le 8 févr. 2025 à 12:26, Bernard Fischel <bernard.fischel@gmail.com> a écrit :
>> 
>> Hi everybody. 
>> I'm searching how to get the size of a List, like matsize, without counting elements of the List. 
>> 
>> matsize(~List) fails. 
>> 
>> Bernard
>