[fpc-devel] for cycle variable
Florian Klaempfl
F.Klaempfl at gmx.de
Sun May 29 15:28:38 CEST 2005
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.
More information about the fpc-devel
mailing list