Am 20.05.2018 um 18:39 schrieb Mathias:
Mixing dynamic and static array does not work properly yet.
The "+" operator is currently not supposed to work for static arrays.
Please report as a feature request.
var
a, b, c: array of byte;
d: array[0..2] of byte = (6, 7, 8);
begin
[snip]
Mixing dynamic and static array does not work properly yet.
I compiled the following code with the latest trunk of FPC (revision 39062):
procedure Ausgabe(a: array of byte);
var
i: integer;
begin
for i := 0 to Length(a) - 1 do begin
Write(a[i]: 4);
end;
WriteLn();
end;
procedure TF