On Thu, 26 Aug 2021, Santi via fpc-pascal wrote:
that :/
By the way, BytesOf documentation is also misleading
In what sense ?
https://www.freepascal.org/docs-html/rtl/sysutils/bytesof.html
The abstract is "Return the bytes in a string". Probably you can blame my
English, but I think it is ambiguous whether it must be read as
Return (the bytes (in a string))
or
return (the bytes) -> (in a string)
before reading the function declaration, I thought it was the second case.
better something like "Return the bytes OF a string in an array of bytes
TBytes"
Thanks for pointing it out, I changed it more or less according to your
suggestion.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal