[fpc-pascal] Open array in object constructor gives error
Hairy Pixels
genericptr at gmail.com
Tue Jan 3 08:04:03 CET 2023
> On Jan 3, 2023, at 1:36 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
>
> Objects are not classes, they don't know the Object Pascal style syntax for creating them, instead you need to use the syntax for objects from TP times:
But why do you need to use New if you just want a stack allocated object? The constructor is called without New I thought?
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list