Vincent Snijders schrieb:
> Graeme Geldenhuys schreef:
>> Florian Klaempfl wrote:
>>>> I see many use-cases for out parameters
>>> You mean for VAROUT parameters :)?
>>
>>
>>
>> First one is not compilable, but the second one is. So no, I don't
>> understand your comment about 'varout'? Please explain more.
>>
> 
> varout could be the name of the new parameter modifier that Jonas
> mentions[1] and that has the semantics that you think out should have,
> but hasn't.

The problem with varout is that it easily creates memory leaks with
automated types.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to