Jonas Maebe wrote:
Once. Since it is the start value, that is even quite logical. However,
even if it appeared in the end condition it would also be only
calculated once at the start of the loop. This is even required for
correctness, because it's possible to do something like
i := 5
for i := 1 to array_var[i] do
Err, sorry for a stupid question, but what would the above code do?
--
At your service,
Kornel Kisielewicz (charonATmagma-net.pl) [http://chaos.magma-net.pl]
Carceri -- A prelude to GenRogue... Coming Soon
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel