Article

From:
To:
Ralf Stocker
Subject:
Re: Delphi Project X Cross GUI
Newsgroup:
embarcadero.public.delphi.non-technical

Re: Delphi Project X Cross GUI

Brad White wrote:

> Rudy Velthuis (TeamB) submitted this idea :
> > Brad White wrote:
> > 
> >> IMHO, the C# 'using' was put in place to make
> >> up for the lack in functionality that Delphi
> >> already had.
> > 
> > Such as? AFAICT, Delphi only has try-finally, which C# also has.
> 
> The reason that we have to use 'using' in C#
> is to make finalization deterministic.

It is meant to get rid of all resources beside memory. In Delphi, you
do the same, but you must also take care of memory using try-finally.

-- Rudy Velthuis (TeamB) http://www.teamb.com
Correspondence Corollary: An experiment may be considered a success if no more than half of your data must be discarded to obtain correspondence with your theory.
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Mon, 25 Nov 2024 11:22:18 UTC
Copyright © 2009-2024
HREF Tools Corp.