Re: How to allocate new class instance on the heap?




<chrisspencer02@xxxxxxxxx> wrote in message
news:1117066027.187310.219810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Are you saying that
>
> ClassInstanceVariable := tClassName.Create {};
>
> will allocate ClassInstanceVariable on the heap? And it will not be
> automatically deallocated when the function declaring
> ClassInstanceVariable exits? OK, thank you.

Yes.

MH.


.



Relevant Pages

  • Re: How to allocate new class instance on the heap?
    ... Are you saying that ... will allocate ClassInstanceVariable on the heap? ... automatically deallocated when the function declaring ... ClassInstanceVariable exits? ...
    (comp.lang.pascal.delphi.misc)
  • Re: Entourage printing issues
    ... but I was remiss in not saying THANKS to Bill for the help.!!! ... Prev by Date: ...
    (microsoft.public.mac.office.entourage)
  • Re: Violence in DW
    ... > For a realistic effect, ... I think his standing up and saying "you cut my hand off" cleared it up for ... Prev by Date: ...
    (rec.arts.drwho.moderated)
  • Re: get the actual size of a file
    ... saying for certain either way:) ... Jon Skeet - ... If replying to the group, please do not mail me too ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • If Statement problem
    ... My test code only gives a message box saying 1st January 2005 not feb march ... Here is my sheet ... Rob ... Prev by Date: ...
    (microsoft.public.excel.programming)