26.08.2011 14:15, Mattias Gaertner ?????:


Felipe Monteiro de Carvalho <[email protected]> hat am 26. August 2011 um 12:00 geschrieben:

> 2011/8/26 Juha Manninen <[email protected]>:
> > Right. I first thought the ultimate reason was the procedure var parameter
> > named "out".
> > However it seems to work ok in other code.
>
> For me it doesn't work. I just added to my TForm this:
>
> public
>   Procedure Something(out: Integer);
>
> And pressed Ctrl+Shift+C
>
> It fails.

"Out" as parameter name is not allowed in mode objfpc and delphi.

The feature can be turned on/off with the modeswitch "out".

This needs to be implemented in the codetools.

I will take a look.

Mattias



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
First, look please pascalparsertool.pas line 1175.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to