2011/11/24 Jonas Maebe <jonas.ma...@elis.ugent.be>

> The syntax is now:
>
> type
>  generic TGen<_T> = class
>    public type
>      T_TArray = array of _T;
>    private var
>      w: T_TArray;
>   public
>     constructor Create(Value: _T);
>  end;
>
>  TSpecial = specialize TGen<integer>;
>
> I.e., type, var etc are now inside public/private/protected sections,
> rather than that you have public/private/protected sections inside type/var
> blocks (Delphi-compatible and more logical). It should be added to
> User_Changes_2.6.0 though.
>

Works.
Thanks for the quick answer.

Juha
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to