Hello Rolf,
In a 3 years old project this could be compiled without problems:
I want to update that project to latest compiler and now I have to do it like this:
Is this intentional behavior?
In a 3 years old project this could be compiled without problems:
Code
function GetMux: byte;
var
MuxPort: byte = 0; // new compiler shows here error: unexpected "=" found
begin
...
end;
var
MuxPort: byte = 0; // new compiler shows here error: unexpected "=" found
begin
...
end;
I want to update that project to latest compiler and now I have to do it like this:
Code
function GetMux: byte;
var
MuxPort: byte;
begin
MuxPort := 0;
...
end;
var
MuxPort: byte;
begin
MuxPort := 0;
...
end;
Is this intentional behavior?