Rimgaudas Laucius wrote:

> Hi,
> 
>  
> 
> i found that in fpc 1.9.6 assignment to "for cycle" variable is
> forbidden. Such behavior is incompatible with other compilers. 

As ...?

> Earlier
> fpc versions also had only warning. What do you think about this?

Well, what we think should be clear ;)

> 
>  
> var
>   i: integer;
> begin
>   for i:= 1 to 2 do
>     inc(i);
> end.


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to