Re: Clean up after you!
From: Bruce Roberts (ber_at_bounceitattcanada.xnet)
Date: Wed, 1 Sep 2004 09:33:41 -0400
"J French" <firstname.lastname@example.org> wrote in message
> Oddly this is one of the few cases where VB got it right and Delphi
> got it wrong - the VB 'With' is restricted to /one/ explicit
> Object/Record and '.' has to precede the 'with-ed' variables
I think there is room for improvement in the VB approach, especially in the
Delphi context. Allow for temporary aliasing similar to the On statement,
with src : someObject, dst : someOtherObject do . . .
I'm not a huge fan of aliases in general but temporary ones do have the
advantage of very limited scope.