[fpc-devel] generics

Marco van de Voort marcov at stack.nl
Wed Dec 20 23:46:53 CET 2006


> Op Wed, 20 Dec 2006, schreef Marco van de Voort:
> > > > 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?
> > 
> > Aren't those automatically dynamic?
> 
> What do you mean with dynamic? Dynamic memory management: no, static.

Yes, that is what I meant. So just to be clear: you can create a schema type
on the stack? Or nest it inside a record, and it remains a single record?



More information about the fpc-devel mailing list