[fpc-pascal] Value of runner variable after a for loop

Luiz Americo Pereira Camara luizmed at oi.com.br
Mon Mar 12 16:08:47 CET 2007


Take the following example:

  for i:= 0 to 2 do;
  WriteLn(i);

Can i safely assume that after the for loop the value of "i" is 2?

Thanks in advance

Luiz



More information about the fpc-pascal mailing list