[fpc-pascal] Size of set.

Bart bartjunk64 at gmail.com
Tue May 23 22:07:39 CEST 2023

On Tue, May 23, 2023 at 2:14 AM Mikael Backman via fpc-pascal
<fpc-pascal at 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.


More information about the fpc-pascal mailing list