[fpc-pascal] Illegal counter variable?

Martin Wynne martin at templot.com
Mon Sep 9 17:19:31 CEST 2019


On 09/09/2019 15:11, James Richters wrote:
> If (I>86) And (I<95) then Continue;
> What does continue do exactly?  Loop back to the beginning of the for loop right away?

Hi James,

Yes in effect -- it jumps forward to the test at the end of a loop. Very 
useful.

See: https://www.freepascal.org/docs-html/rtl/system/continue.html

cheers,

Martin.


More information about the fpc-pascal mailing list