Yes, off topic.
The initial poster's code had the loop variable declared as an initialized constant. Not as a true variable. No FPC in hand, I can't test if setting 'assignable typed constants = true' would permit the use of an initialized typed constant or not.
Sent from my Huawei phone
Sent from my Huawei phone
-------- Original Message --------
Subject: Re: [fpc-pascal] Illegal counter variable?
From: DougC
To: FPC-Pascal users discussions
CC:
The last messages have wandered off topic somewhat.Can we stick to the original request, which was why the handling of the two declarations differed?
Doug C.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal