[fpc-pascal] Bookmark, TBookmarkStr, TBytes and BytesOf

Michael Van Canneyt michael at freepascal.org
Thu Aug 26 17:03:16 CEST 2021

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


More information about the fpc-pascal mailing list