[fpc-pascal] How to find the return type of a for..in ?

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jun 16 16:29:22 CEST 2016


On Thu, 16 Jun 2016 14:59:47 +0100
Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:

>[...]
> Here is another stumbling block of for.in usage. The statement itself
> doesn't give you any hint as to what the return type is. What is the
> correct way of finding the return type of a for..in statement?

Have you seen this page:
http://wiki.freepascal.org/for-in_loop

Mattias



More information about the fpc-pascal mailing list