On 14 Jul 2012, at 14:16, Skybuck Flying wrote: > I don't think this is a good idea. > > For example while debugging and looking at the memory in raw this would lead > to confusion.
By knowing the order of the fields, you still don't know their exact offsets. If you want to know their address, print @classinstance.fieldname > It's already bad that Delphi adds invisible fields to classes so they cannot > be simply dumped to disk... (virtual method table pointers ?) this would make > it even worse. If you want to program at an assembler level of abstraction, don't use high level language features. Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel