Re: Newbie question about release, freeAndNil, etc



Thank for your thoughtful reply, Rob. A quick question, though. You
wrote:

>I recommend you free modal dialogs when ShowModal
>returns. That means
>you have code like this:

>LViewerOptions := TFrmViewerOptions.Create(nil);
>try
> LViewerOptions.ShowModal;
>finally
> LViewerOptions.Free;
>end;

Are you suggesting that calling release is unnecessary? and doing
LViewerOptions:= nil is unnecessary a well?

I'm not really sure what release actually does...

-Corinna

.



Relevant Pages

  • under Gregs coloured civilian fraud
    ... smooth, recommend, and tighten. ... Others recently rob. ... No dead ...
    (sci.crypt)
  • Re: Recommended Spam/Virus Appliance
    ... Rob wrote: ... > I would recommend the the barracuda SPAM firewall appliance. ...
    (microsoft.public.exchange.misc)
  • Re: A note on sleep deprivation
    ... That's some damn interesting and potentially useful stuff right there Rob. ... My doc has, on more than one occasion, recommend I go in for a sleep ...
    (rec.music.makers.percussion)
  • Re: Replacement watch strap advice ...
    ... Thanks very much for the info David. ... > Hi Rob, ... I have bought three different watch straps from ... >> Also can anyone recommend a good watch forum on the net? ...
    (alt.horology)
  • Re: Shorts
    ... In article, Rob ... Can someone recommend a reasonable make of lycra shorts for an ... Dave Larrington - ...
    (uk.rec.cycling)