On 23/05/2023 01:14, Mikael Backman via fpc-pascal wrote:
Hi,
basic questions here.

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

Regards Mikael

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


You can transverse a set with
    for ... in

See "loop with elements" in
https://wiki.freepascal.org/For


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

Reply via email to