[fpc-pascal] Initialization of constant record member of pointer type
LacaK
lacak at zoznam.sk
Mon Dec 14 14:29:37 CET 2020
>> Thank you, yes it works. I have used:
>>
>> const
>> MyConst1: AnsiString = 'abc'
>> MyConst2: TMyRec = (a: @MyConst1[1]);
>
> It doesn't compile with fpc 3.2.0 (I'm trying, without success so far,
> your open62541 translation).
>
Yes, you are right. That ^ compiles under FPC 3.0 but not under FPC 3.2
I have updated test program (now compiles also under FPC 3.2)
Thanks
-Laco.
More information about the fpc-pascal
mailing list