[fpc-devel] generics
Daniël Mantione
daniel.mantione at freepascal.org
Wed Dec 20 12:28:35 CET 2006
Op Wed, 20 Dec 2006, schreef Vincent Snijders:
> Will fpc support generic record declarations like this:
>
> type
> generic TFixedKeyNode<KeySize> = record
> key: array[0..KeySize-1] of char;
> value: dword;
> end;
>
> In other word the type is not parameterized by another type but by an integer
> used to define the upper limit of an array.
Basically, isn't this similar to a schema type like you have in Extended Pascal?
Daniël
More information about the fpc-devel
mailing list