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]
// d := [5, 6, 7]; // geht nicht
end;
This is currently not supposed to work either. If you want that you can
file a separate feature request report though that won't have a high
priority.
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal