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).

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

Reply via email to