[Lazarus] 'with' is evil, isn't it?

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Aug 4 16:06:04 CEST 2011


Michael Schnell schrieb:
> On 08/04/2011 08:12 AM, Sven Barth wrote:
>>  "absolute" is another example of such a construc
> ..and AFAIK using "absolute" is depreciated (at least with Delphi).

"absolute" is undocumented in XE, but not flagged as deprecated by the 
compiler. And it works as expected, of course :-)

I mostly use it like Graeme does, with stupid parameter types. But it 
could be replaced by an additional assignment in the code, of course.

DoDi





More information about the Lazarus mailing list