Juha Manninen wrote on Mon, 10 Oct 2016:
I have always avoided using a for-loop index variable after the loop. I thought its value can be unpredictable in some situations when the compiler reuses its register or memory etc.
That is correct.
The compiler, FPC 3.0, does not warn about it.
Indeed: http://bugs.freepascal.org/view.php?id=12508 Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal