On 2017-07-25 09:54, Bo Berglund wrote:
buffer in an old application, so I need to write efficient
replacements for certain string functions (Delete, Insert, Copy etc).
Now I am wondering if there is a better way to do the Insert() command
than this:
Reading that... All I can think of is the 1000's of Linked-List
implementations I had to implement when I was studying Turbo Pascal all
that years ago. Delete, Insert and Copy would be so easy to do. :-)
What does TBytes use internally to store its data?
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
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal