Re: [fpc-pascal] Legitimate use of for and break

2023-07-01 Thread Hairy Pixels via fpc-pascal
> On Jul 2, 2023, at 3:25 AM, Steve Litt via fpc-pascal > wrote: > > I tend to put continue statements at or near the top of the block, to > summarily rule out some obvious irrelevant iterations without all sorts > of if/then/else nesting. As a practical matter it's more readable and > more

Re: [fpc-pascal] Legitimate use of for and break

2023-07-01 Thread Steve Litt via fpc-pascal
Santi via fpc-pascal said on Sat, 1 Jul 2023 10:22:48 +0200 >El 16/06/2023 a las 16:09, Mattias Gaertner via fpc-pascal escribió: >> On Fri, 16 Jun 2023 20:51:42 +0700 >> Hairy Pixels via fpc-pascal wrote: >> On Jun 16, 2023, at 6:23 PM, Thomas Kurz via fpc-pascal wrote: >> 20

Re: [fpc-pascal] Legitimate use of for and break

2023-07-01 Thread Santi via fpc-pascal
El 16/06/2023 a las 16:09, Mattias Gaertner via fpc-pascal escribió: On Fri, 16 Jun 2023 20:51:42 +0700 Hairy Pixels via fpc-pascal wrote: On Jun 16, 2023, at 6:23 PM, Thomas Kurz via fpc-pascal wrote: Whether it's elegant is a different question. In my opinion YES because it often gives