[fpc-pascal] defining record at runtime

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Sep 25 11:56:33 CEST 2007

On 25 Sep 2007, at 11:49, Marc Santhoff wrote:

> would it be possible to set up a memory structure according to fpc's
> aligning rules that will be accepted as a record typed variable? Or  
> does
> fpc create some informational support items that would miss in this
> case?
> I'm in doubt, since it is normally not possible (AFAIK, tell me if  
> this
> is wrong) to get structural information about a record type at runtime
> (no RTTI).

Initialisation rtti is generated in case the record contains  
reference counted types. It will be easier to answer your question if  
you explain what you want to achieve and why.


More information about the fpc-pascal mailing list