On Tue, 06 Feb 2007 16:03:22 +0100
Guadagnini David <[EMAIL PROTECTED]> wrote:

> If I write a function like this:
> 
> Function MyFunction(Value : Boolean) : Boolean;
> Begin
>    Result := Not Value;
> End;
> 
> Now, if I go with the cursor on line Result := Not Value and select 
> Refactoring->Complete code (the 1st option) the result is
> 
> Function MyFunction(Value : Boolean) : Boolean;
> Var
>    Result : Boolean;
> Begin
>    Result := Not Value;
> End;
> 
> Note the Var statment.

Fixed.

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to