> On Oct 26, 2019, at 12:55 PM, Sven Barth via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> tmpenum := y.GetEnumerator;
> while tmpenum.MoveNext do begin
>   x := tmpenum.Current;
>   // ...
> end;

Ok, I understand how you guys are seeing this now. I wasn’t thinking of it as a 
while loop so casting just made sense to me from an efficiency standpoint.

Regards,
        Ryan Joseph

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

Reply via email to