On 07/24/2016 05:12 AM, Giuliano Colla wrote:
What I'd do in your place would be to forget about strings, and use just an array of bytes.
that's why i'm using a pchar, starting at var[0] and length(var)-1 ;)
This way you're sure that you don't have in the way the string length value and some automatic encoding conversion, which messes up things.
i can easily see how those would get in the way... in this case, there's none of that fancyschmancy stuff being done ;)
-- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal