On 2017-08-15 20:22, Luca Olivetti via Lazarus wrote:
Wait a minute, why "abuse"? After all, before code aware strings, an ansistring could store any kind of arbitrary data with no problem and no conversion, and made it extremely easy
Just listen to what you are saying.... A string type and you want to store all kinds of non-string related data in that type. How is that not "abuse"??? Use a TBytes, TStream or other binary byte based storage mechanism. A string type was definitely not the right choice.
Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus