[fpc-devel] generics
    Daniël Mantione 
    daniel.mantione at freepascal.org
       
    Wed Dec 20 18:43:50 CET 2006
    
    
  
Op Wed, 20 Dec 2006, schreef Vincent Snijders:
> 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?
http://www.gnu-pascal.de/gpc/Schema-Types.html
Daniël
    
    
More information about the fpc-devel
mailing list