On 15/11/2011, Felipe Monteiro de Carvalho <felipemonteiro.carva...@gmail.com> wrote: > On Tue, Nov 15, 2011 at 10:10 AM, Bart <bartjun...@gmail.com> wrote: >> That would be strange indeed, because then most events (onclick >> handlers etc) would not compile anymore, since they are in the format >> procedure(Sender: TObject) of object... > > It is not like that, he forgot adding var or out to the parameter. The > example which you are mentioning has no var.
Indeed. I checked my code and Delphi 5-7 compatibility. The problem I had, wast that I specified those parameters as var. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal