[fpc-pascal] Open array in object constructor gives error

Hairy Pixels genericptr at gmail.com
Tue Jan 3 14:07:27 CET 2023



> On Jan 3, 2023, at 3:12 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
> 
> But then you don't use the type name either. You simply do "o.Create(...)".
> 

Ohhhh I get it now. I didn’t realize you couldn’t create on the type. That breaks my entire design then. It would be great to have a modern object that behaved more like classes but on the stack (like C++ does).

Regards,
Ryan Joseph



More information about the fpc-pascal mailing list