On 3-1-2023 14:07, Hairy Pixels via fpc-pascal wrote:


On Jan 3, 2023, at 3:12 PM, Sven Barth <pascaldra...@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).

On what instance/variable/piece of memory would your code "TMyObject.Create(['1', '2', '3'])" then operate ?

Marc
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to