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

2016-06-28 Thread David Emerson
Philosophical arguments aside, I filed a bug against the documentation, since one thing is clear-- that I and others were previously misled into believing something that is not true. http://mantis.freepascal.org/view.php?id=30321 In the report, I included several references where the

Re: [fpc-pascal] which "managed" result types require extra work?

2016-06-28 Thread Michael Van Canneyt
On Tue, 28 Jun 2016, Jürgen Hestermann wrote: Am 2016-06-28 um 01:13 schrieb David Emerson: The source of my confusion -- and I suspect that of many others -- is that I always assumed a function result was treated like a local variable within the function, rather than a parameter to the

Re: [fpc-pascal] which "managed" result types require extra work?

2016-06-28 Thread Jürgen Hestermann
Am 2016-06-28 um 01:13 schrieb David Emerson: > The source of my confusion -- and I suspect that of many others -- is that I always assumed a function result was treated like a local variable within the function, rather than a parameter to the function. > Since managed types are automatically