Am Sun, 15 May 2011 20:06:02 +0200
schrieb Jonas Maebe <jonas.ma...@elis.ugent.be>:

> Those three ways also have data overhead, because you have to store
> the string representation somewhere. Whether this initialised data is
> part of a predefined format called "RTTI" or not does not change that.

Good point, but sorry, this is an proof that the macro approach is more
general!

The RTTI feature can the data only give in one format, say it delivers
them as pchar to you. And I have shortstrings in my list.
The format the data is retrieved by the rtti decides how I have to
store it if you want to prevent the double storage of the data.

        Jörg
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to