On Tue, May 23, 2023 at 2:14 AM Mikael Backman via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:


> Is there any way to decide the number of elements in a set?
>  there any way to  traverse the elements in a set?

Couldn't you use PopCnt for that?
You would need to know the SizeOf() the type of the set in question.


-- 
Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to