View Single Post
 
Old 08-31-2018, 03:22 AM
Glenn1234 Glenn1234 is offline
Senior Member
 
Join Date: Aug 2009
Posts: 130
Default

SetLength doesn't allocate memory. It's a procedure that sets the length of a string.


You need to look into using New/GetMem and Dispose/Freemem.
Reply With Quote