[fpc-pascal] Dynamic loading to static?

Ryan Joseph genericptr at gmail.com
Sat Oct 26 22:46:06 CEST 2019



> On Oct 26, 2019, at 12:55 PM, Sven Barth via fpc-pascal <fpc-pascal at 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



More information about the fpc-pascal mailing list