[fpc-pascal] TEnumerator - After the last element?

Sven Barth pascaldragon at googlemail.com
Thu Oct 7 22:31:03 CEST 2021

Am 07.10.2021 um 16:10 schrieb Gabor Boros via fpc-pascal:
> Hi All,
> I need to know the current position is after the last element. The 
> attached solution demonstrate what I want.
> Is an internal solution exists for this task? I not found anything.

MoveNext returns False once the enumerator has reached its end (that's 
how for-in is implemented after all).


More information about the fpc-pascal mailing list