[fpc-pascal] reference-counted function results not initialized to nil

Martin Schreiber mse00000 at gmail.com
Sun Jun 26 15:52:26 CEST 2016

On Sunday 26 June 2016 12:09:58 Jc3bcrgen Hestermann wrote:
> The only exception (at least since FPC 3) is the function result
> which is totally unexpected.
> Why such an exception?
I don't think one could treat a function result as a normal local variable. 
The reason why not to initialise the result variable is because in many cases 
it is not necessary and reduces performance.


More information about the fpc-pascal mailing list