[Lazarus] Passing properties as var paramatars (was: Delphi editor clone)

Alexander Klenin klenin at gmail.com
Sat Nov 7 23:13:28 CET 2009


On Sun, Nov 8, 2009 at 03:07, Michael Van Canneyt
<michael at freepascal.org> wrote:
> On Sat, 7 Nov 2009, Marco van de Voort wrote:
>> This is not orthogonal. VAR parameters are generally updated
>> instantaniously. By delaying the update over a temp variable you break
>> another aspect of the VAR parameter.
>
> Not to mention the various reference counted objects: strings, interfaces,
> open arrays. Unexpected results abound...

What kind of unexpected results?

-- 
Alexander S. Klenin




More information about the Lazarus mailing list