On 05 Jan 2015, at 21:20, luiz americo pereira camara wrote: > I have the following methods. > > I was expecting that Result := Save; would call Save method but in > fact > Save refers to the function result variable. > > Is it by design? Yes. See e.g. http://bugs.freepascal.org/view.php?id=22344 Jonas