Re: [fpc-pascal] defining record at runtime

2007-09-25 Thread Marc Santhoff
Am Dienstag, den 25.09.2007, 19:59 -0700 schrieb Leonardo M. RamX: > An aproximation of what you want to accomplish is the usage of classes > (descendants of > TPersistent) with published properties accesed using RTTI. The > "visible" fields you want to access > are these published properties, all

Re: [fpc-pascal] defining record at runtime

2007-09-25 Thread Leonardo M. Ram
An aproximation of what you want to accomplish is the usage of classes (descendants of TPersistent) with published properties accesed using RTTI. The "visible" fields you want to access are these published properties, all other information and methods can't be accessed using RTTI. TCustomer = c

Re: [fpc-pascal] defining record at runtime

2007-09-25 Thread Marc Santhoff
Am Dienstag, den 25.09.2007, 11:56 +0200 schrieb Jonas Maebe: > 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 informati

Re: [fpc-pascal] defining record at runtime

2007-09-25 Thread Jonas Maebe
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 no

[fpc-pascal] defining record at runtime

2007-09-25 Thread Marc Santhoff
Hi, 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 wr