2018-05-11 12:36, Santiago A. via Lazarus rašė:
Yes, but I think that it should be considered a FPC bug
TList = array of TElement;
Plist = ^TList;
TSetting = record
list: Plist;
end;
const
_List: array [0..1] of TElement = (
(strr: 'a'),
(strr: 'b'));
_S
El 29/04/2018 a las 19:38, Vojtěch Čihák via Lazarus escribió:
>
> Hi,
>
>
>
> I changed line 7:
>
>
>
> TElement = record
>
> strr: String;
>
> end;
>
> TList = array[0..1] of TElement; //HERE
>
> Plist = ^TList;
>
>
>
> and demo works. Simply, static and dynamic arrays are n