[fpc-pascal] methods of an object to create others objects
    Andrew Brunner 
    andrew.t.brunner at gmail.com
       
    Tue Jul  6 23:59:25 CEST 2010
    
    
  
> Wrong again Andrew. Calling .Free is safe (even if the instance
> variable is nil) because internally it checks if the instance exists
> before continuing with calling .Destroy on that instance.  Delphi 101.
>  ;-)
It most certainly is not "safe".  LOL.  Free calls destroy.. Destroy
may contain other frees and routines... You cannot guarantee that free
will even return.
    
    
More information about the fpc-pascal
mailing list