[fpc-devel] copy for PChar

Marco van de Voort marcov at stack.nl
Sun Feb 19 17:31:48 CET 2012


In our previous episode, Mattias Gaertner said:
> When I use "copy" on a PChar (e.g. copy(p,1,1)), it is very slow,
> because the compiler converts the PChar to a string.
> 
> Is there already a function for PChar?

http://www.freepascal.org/docs-html/rtl/strings/strlcopy.html 



More information about the fpc-devel mailing list