[fpc-devel] generics

Daniël Mantione daniel.mantione at freepascal.org
Thu Dec 21 00:01:12 CET 2006



Op Wed, 20 Dec 2006, schreef Marco van de Voort:

> > Op Wed, 20 Dec 2006, schreef Marco van de Voort:
> > > > > In other word the type is not parameterized by another type but b=
y an integer
> > > > > used to define the upper limit of an array.
> > > > =

> > > > Basically, isn't this similar to a schema type like you have in Ext=
ended
> > > > 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 t=
ype
> on the stack? Or nest it inside a record, and it remains a single record?

Yes, confirmed, and if you blockwrite the record (if that is possible in =

GPC), you write the schema to disk.

Dani=EBl


More information about the fpc-devel mailing list