[fpc-devel] generics

Vincent Snijders vsnijders at quicknet.nl
Wed Dec 20 13:21:49 CET 2006


Daniƫl Mantione schreef:
> 
> 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?

No idea. I have absolutely no knowledge about Extended Pascal. Can you give a link 
which describes that?

Vincent



More information about the fpc-devel mailing list