On 12/09/2022 07:52, Jean SUZINEAU via fpc-pascal wrote:
As Bart suggested, you can use too the for/in loop:  for s in sl do WriteLn( s);


And that is IMHO by far the most elegant, and least error prone, representation.

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

Reply via email to