Hairy Pixels via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am
Mi., 4. Jan. 2023, 02:40:

>
>
> > On Jan 3, 2023, at 8:39 PM, Marc Weustink via fpc-pascal <
> fpc-pascal@lists.freepascal.org> wrote:
> >
> > On what instance/variable/piece of memory would your code
> "TMyObject.Create(['1', '2', '3'])" then operate ?
>
> There’s a global stack which is opened and they are stored there during
> construction.
>

For something like that you are better of to use Object Pascal classes and
override their NewInstance and FreeInstance methods.

Regards,
Sven

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

Reply via email to