On Tue, 23 May 2023 06:50:08 -0400
James Richters via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:

> >You can transverse a set with
> >     for ... in  

An even better:

for e in TEnum do ; // traverse every possible enum

for e in aSet do ; // traverse only enums in aSet

 
> Interesting, I learned something new, I did now know I could do this
> with FreePascal.  It says it works for Strings and Arrays as well,
> does it also work for StringLists?

Yes

Mattias

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

Reply via email to