[fpc-pascal] Dynamic Array, operator +

Sven Barth pascaldragon at googlemail.com
Mon May 21 10:17:37 CEST 2018


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



More information about the fpc-pascal mailing list